Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function singleRun(){
return karma(true);
}
function tdd(){
return karma(false);
}
gulp.task('karma', callback => {
karma.server.start({
configFile: process.cwd() + '/karma.conf.js',
singleRun: true
}, callback);
});