Steven Burrows 202034ff83 GUI: Added {view}-spec.js files for all main views
Change-Id: I75a50ae2689d0ab7863c8bb0546ec72ef8e9e7ea
2017-08-11 16:49:41 +00:00

17 lines
397 B
JavaScript

import gulp from 'gulp';
import path from 'path';
import { Server } from 'karma';
const tests = ['../../web/gui/src/main/webapp/tests/**/*.js'];
const test = () => {
new Server({
configFile: path.join(__dirname, '../../../../', '/web/gui/src/main/webapp/tests/karma.conf.js'),
}).start();
};
const tasks = () => {
gulp.task('test', () => test());
};
export default tasks();