UNPKG

hexa-viewer-communicator

Version:

A simple API for <hexa-viewer>

36 lines (28 loc) 619 B
const webpackConfig = require('./webpack.config.js'); webpackConfig.mode = 'production'; module.exports = function(config) { config.set({ singleRun: true, browsers: [ 'PhantomJS' ], frameworks: [ 'jasmine' ], files: [ 'spec.bundle.js' ], preprocessors: { 'spec.bundle.js': ['webpack'] }, webpack: webpackConfig, webpackMiddleware: { stats: 'errors-only' }, plugins: [ require('karma-jasmine'), require('karma-phantomjs-launcher'), require('karma-webpack') ] }); };