Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 8de391e

Browse files
committed
Updated gruntfile to use Karma instead of Testacular
1 parent 828d509 commit 8de391e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

gruntFile.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
module.exports = function (grunt) {
22

3-
grunt.loadNpmTasks('grunt-testacular');
3+
grunt.loadNpmTasks('grunt-karma');
44
grunt.loadNpmTasks('grunt-contrib-jshint');
55

66
// Default task.
7-
grunt.registerTask('default', ['jshint', 'testacular']);
7+
grunt.registerTask('default', ['jshint', 'karma']);
88

9-
var testacularConfig = function(configFile, customOptions) {
9+
var karmaConfig = function(configFile, customOptions) {
1010
var options = { configFile: configFile, keepalive: true };
1111
var travisOptions = process.env.TRAVIS && { browsers: ['Firefox'], reporters: 'dots' };
1212
return grunt.util._.extend(options, customOptions, travisOptions);
1313
};
1414

1515
// Project configuration.
1616
grunt.initConfig({
17-
testacular: {
17+
karma: {
1818
unit: {
19-
options: testacularConfig('test/test.conf.js')
19+
options: karmaConfig('test/test.conf.js')
2020
}
2121
},
2222
jshint:{

0 commit comments

Comments
 (0)