I am trying to run karma tests from gulp task and I am getting this error:
Error: 1
at formatError (C:\\Users\\Tim\\AppData\\Roaming\\npm\\node_modules\\g
gulp.task('test', function(done) {
karma.start({
configFile: __dirname + '/karma.conf.js',
singleRun: false
}, done);
});
passing singleRun: false argument will prevent the process from returning a value different of 0 (which would signify an error and exit gulp).
Run with singleRun: true if you only launching your test from a command line, not part of a continuous integration suite.