1
2
3
4
5
6
7
8
9
10
11
12
13
14
| #!/usr/bin/env node
| const path = require('path');
| const { Server, config } = require('karma');
|
| const karmaConfig = config.parseConfig(
| path.resolve(__dirname, '../karma.conf.js')
| );
|
| const server = new Server(karmaConfig, exitCode => {
| console.log('Karma has exited with ' + exitCode);
| process.exit(exitCode);
| });
|
| server.start();
|
|