UNPKG

react-styled-flexboxgrid

Version:

Grid system based on styled-components and flexbox for React

36 lines (24 loc) 649 B
require('@babel/register') const webpackConfig = Object.assign({}, require('./demo/webpack.config.babel'), { entry: null, output: null, devtool: 'inline-source-map' }) module.exports = function (config) { config.set({ singleRun: true, basePath: './', files: [ { pattern: 'node_modules/@babel/polyfill/browser.js', instrument: false }, './src/**/*.test.js' ], autoWatch: true, frameworks: ['mocha'], preprocessors: { './src/**/*.test.js': ['webpack', 'sourcemap'] }, webpack: webpackConfig, reporters: 'dots', browsers: [process.env.CI ? 'PhantomJS' : 'Chrome'] }) }