big-moving.ru/assets/vendor_components/popper/packages/test/bin/karma.js

15 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();