16fb2bb919
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
14 lines
338 B
JavaScript
Executable file
14 lines
338 B
JavaScript
Executable file
#!/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();
|