Skip to content

Commit

Permalink
drop qunit tests in favor of jasmine
Browse files Browse the repository at this point in the history
  • Loading branch information
lmenezes committed Jan 1, 2021
1 parent ce6739a commit 0288f6f
Show file tree
Hide file tree
Showing 12 changed files with 320 additions and 8,425 deletions.
8 changes: 2 additions & 6 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,8 @@ module.exports = function(grunt) {
]
}
},
qunit: {
all: ['./tests/all.html']
},
karma: {
unit: {configFile: 'tests/karma.config.js', keepalive: true}
unit: {configFile: 'tests/karma.config.js'}
},
eslint: {
options: {
Expand All @@ -101,11 +98,10 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-qunit');
grunt.loadNpmTasks('grunt-karma');
grunt.loadNpmTasks('grunt-eslint');
grunt.registerTask('dev', ['watch']);
grunt.registerTask('build',
['clean', 'jshint', 'eslint', 'concat', 'copy', 'qunit']);
['clean', 'jshint', 'eslint', 'concat', 'copy', 'karma']);
grunt.registerTask('test', ['karma'])
};
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "cerebro - elasticsearch admin",
"main": "index.html",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "grunt test"
},
"repository": {
"type": "git",
Expand All @@ -24,7 +24,6 @@
"grunt-contrib-connect": "^1.0.2",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-jshint": "^1.1.0",
"grunt-contrib-qunit": "^3.1.0",
"grunt-contrib-watch": "^1.1.0",
"grunt-eslint": "^23.0.0",
"grunt-karma": "^4.0.0",
Expand Down
19 changes: 0 additions & 19 deletions tests/all.html

This file was deleted.

Loading

0 comments on commit 0288f6f

Please sign in to comment.