Implements the first specs
TDD yeah !!!
This commit is contained in:
10
gulpfile.js
10
gulpfile.js
@@ -3,9 +3,15 @@ var plugins = require('gulp-load-plugins')({});
|
||||
var karma = require('karma');
|
||||
|
||||
gulp.task('test', function(done) {
|
||||
new karma.Server({
|
||||
server = new karma.Server({
|
||||
configFile: __dirname + '/test/karma.conf.js'
|
||||
},done).start();
|
||||
},function(exitCode) {
|
||||
console.log('coucou');
|
||||
done(exitCode);
|
||||
console.log('coucou');
|
||||
process.exit(exitCode);
|
||||
});
|
||||
server.start();
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user