-
Notifications
You must be signed in to change notification settings - Fork 114
Description
When I run grunt I have this error:
Running "simplemocha:all" (simplemocha) task
1..8
ok 1 Classe: maFonction Tester maFonction
ok 2 Classe: maFonction Tester Division par 0
ok 3 Classe: maFonction Tester should
ok 4 Classe: maFonction future test # SKIP -
ok 5 Classe: wait should exist
ok 6 Classe: wait Test asynchrone
ok 7 Demo test: Fair un 1er test
ok 8 Demo test: Fair un 2eme test
tests 7
pass 7
fail 0
Running "karma:unit" (karma) task
21 10 2015 11:17:07.237:WARN [plugin]: Error during loading "karma-browserify" plugin:
Cannot find module './lib/_stream_transform.js'
21 10 2015 11:17:10.231:WARN [preprocess]: Can not load "browserify", it is not registered!
Perhaps you are missing some plugin?
Warning: No provider for "framework:browserify"! (Resolving: framework:browserify) Use --force to continue.
this is my Gruntfile.js :
module.exports = function(grunt) {
grunt.initConfig({
simplemocha : {
options : {
globals : [ 'expect' ],
timeout : 3000,
ignoreLeaks : false,
ui : 'bdd',
reporter : 'tap'
},
all : {
src : [ 'test/*Test.js' ]
}
},
karma : {
unit: {
options: {
configFile : 'karma.conf.js'
}
}
}
});
grunt.loadNpmTasks('grunt-simple-mocha');
grunt.loadNpmTasks('grunt-karma');
grunt.registerTask('default', [ 'simplemocha', 'karma' ]);
};Thank you