diff options
Diffstat (limited to 'lib/grunt')
| -rw-r--r-- | lib/grunt/plugins.js | 8 | ||||
| -rw-r--r-- | lib/grunt/utils.js | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/grunt/plugins.js b/lib/grunt/plugins.js index c67aa545..b423b61f 100644 --- a/lib/grunt/plugins.js +++ b/lib/grunt/plugins.js @@ -50,12 +50,12 @@ module.exports = function(grunt) { }); - grunt.registerMultiTask('test', 'Run the unit tests with testacular', function(){ - util.startTestacular.call(util, this.data, true, this.async()); + grunt.registerMultiTask('test', 'Run the unit tests with Karma', function(){ + util.startKarma.call(util, this.data, true, this.async()); }); - grunt.registerMultiTask('autotest', 'Run and watch the unit tests with testacular', function(){ - util.startTestacular.call(util, this.data, false, this.async()); + grunt.registerMultiTask('autotest', 'Run and watch the unit tests with Karma', function(){ + util.startKarma.call(util, this.data, false, this.async()); }); }; diff --git a/lib/grunt/utils.js b/lib/grunt/utils.js index 80a41f30..abc71816 100644 --- a/lib/grunt/utils.js +++ b/lib/grunt/utils.js @@ -30,11 +30,11 @@ module.exports = { }, - startTestacular: function(config, singleRun, done){ + startKarma: function(config, singleRun, done){ var browsers = grunt.option('browsers'); var reporters = grunt.option('reporters'); var noColor = grunt.option('no-colors'); - var p = spawn('node', ['node_modules/testacular/bin/testacular', 'start', config, + var p = spawn('node', ['node_modules/karma/bin/karma', 'start', config, singleRun ? '--single-run=true' : '', reporters ? '--reporters=' + reporters : '', browsers ? '--browsers=' + browsers : '', |
