blob: e6e74367bda0fa91f260f6111e0afa25d526bae3 [file] [log] [blame]
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'),
singleRun: true
}).start();
};
const tasks = () => {
gulp.task('test', () => test());
};
export default tasks();