diff options
| -rw-r--r-- | Gruntfile.js | 12 | ||||
| -rw-r--r-- | angularFiles.js | 2 | ||||
| -rw-r--r-- | karma-e2e.conf.js (renamed from testacular-e2e.conf.js) | 0 | ||||
| -rw-r--r-- | karma-jqlite.conf.js (renamed from testacular-jqlite.conf.js) | 0 | ||||
| -rw-r--r-- | karma-jquery.conf.js (renamed from testacular-jquery.conf.js) | 0 | ||||
| -rw-r--r-- | karma-modules.conf.js (renamed from testacular-modules.conf.js) | 0 | ||||
| -rw-r--r-- | lib/grunt/plugins.js | 8 | ||||
| -rw-r--r-- | lib/grunt/utils.js | 4 | ||||
| -rw-r--r-- | package.json | 2 | 
9 files changed, 14 insertions, 14 deletions
| diff --git a/Gruntfile.js b/Gruntfile.js index 8facd45f..c318a2a6 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -45,17 +45,17 @@ module.exports = function(grunt) {      test: { -      jqlite: 'testacular-jqlite.conf.js', -      jquery: 'testacular-jquery.conf.js', -      modules: 'testacular-modules.conf.js', +      jqlite: 'karma-jqlite.conf.js', +      jquery: 'karma-jquery.conf.js', +      modules: 'karma-modules.conf.js',        //NOTE run grunt test:e2e instead and it will start a webserver for you -      end2end: 'testacular-e2e.conf.js' +      end2end: 'karma-e2e.conf.js'      },      autotest: { -      jqlite: 'testacular-jqlite.conf.js', -      jquery: 'testacular-jquery.conf.js' +      jqlite: 'karma-jqlite.conf.js', +      jquery: 'karma-jquery.conf.js'      }, diff --git a/angularFiles.js b/angularFiles.js index 44614a8c..968405af 100644 --- a/angularFiles.js +++ b/angularFiles.js @@ -208,7 +208,7 @@ if (exports) {      var files = [];      [].splice.call(arguments, 0).forEach(function(file) { -      if (file.match(/testacular/)) { +      if (file.match(/karma/)) {          files.push(file);        } else {          angularFiles[file].forEach(function(f) { diff --git a/testacular-e2e.conf.js b/karma-e2e.conf.js index 07c79c70..07c79c70 100644 --- a/testacular-e2e.conf.js +++ b/karma-e2e.conf.js diff --git a/testacular-jqlite.conf.js b/karma-jqlite.conf.js index 6cb98114..6cb98114 100644 --- a/testacular-jqlite.conf.js +++ b/karma-jqlite.conf.js diff --git a/testacular-jquery.conf.js b/karma-jquery.conf.js index 7b527a15..7b527a15 100644 --- a/testacular-jquery.conf.js +++ b/karma-jquery.conf.js diff --git a/testacular-modules.conf.js b/karma-modules.conf.js index 9fea7d58..9fea7d58 100644 --- a/testacular-modules.conf.js +++ b/karma-modules.conf.js 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 : '', diff --git a/package.json b/package.json index 4520475d..5a915980 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@      "q-fs": "0.1.36",      "qq": "0.3.5",      "shelljs": "0.1.2", -    "testacular": "0.5.9", +    "karma": "~0.8",      "yaml-js": "0.0.5"    }  } | 
