UNPKG

pb-websocket

Version:
33 lines (31 loc) 662 B
var webpackConfig = require('./webpack.config') module.exports = function (karma) { karma.set({ browsers: ['PhantomJS'], frameworks: ['mocha'], reporters: ['spec'], files: ['../test/index.js'], preprocessors: { '../test/index.js': ['webpack', 'sourcemap'] }, client: { mocha: { // grep: 'demo', timeout: 3600000, }, }, webpack: webpackConfig, webpackMiddleware: { noInfo: true }, customLaunchers: { 'PhantomJS_debug': { base: 'PhantomJS', debug: true } }, port: 8000, browserDisconnectTimeout: 3600000, singleRun: true, }) }