Gets unit tests running again and added a task runTests

This commit is contained in:
Shannon
2019-02-07 16:22:29 +11:00
parent 86b31c2782
commit 261ddfbcd6
3 changed files with 25 additions and 12 deletions

View File

@@ -9,7 +9,10 @@ var karmaServer = require('karma').Server;
**************************/
// Karma test
gulp.task('test:unit', function() {
gulp.task('runTests', ["js", "test:unit"]);
gulp.task('test:unit', function () {
new karmaServer({
configFile: __dirname + "/../../test/config/karma.conf.js",
keepalive: true