mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-15 09:21:06 +02:00
17 lines
397 B
JavaScript
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(); |