Skip to content

Instantly share code, notes, and snippets.

@Nijhazer
Created December 2, 2015 03:38
Show Gist options
  • Save Nijhazer/80fe1bc98f16371b5c81 to your computer and use it in GitHub Desktop.
Save Nijhazer/80fe1bc98f16371b5c81 to your computer and use it in GitHub Desktop.
Building Applications with TypeScript - Snippet 19
var KarmaServer = KarmaServer = require('karma').Server;
gulp.task('test:www', ['compile:www'], function (done) {
new KarmaServer({
configFile: __dirname + '/karma.conf.js',
singleRun: true
}, done).start();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment