ungleich-staticcms/assets/u/static/popper.js-1.16.0/packages/test/bin/karma.js

15 lines
338 B
JavaScript
Raw Normal View History

#!/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();