module.exports = {
frameworks: ['mocha', 'sinon-chai'],
files: [
],
exclude:[
],
watch: [
],
preprocessors: {
'app/assets/js/__tests__/**/*.styl': ['stylus']
},
stylusPreprocessor: {
options: {
paths: ['app/assets/styles/_base/buttron'],
save: true,
compress: false
},
transformPath: function(path) {
path = path.replace(/\.styl$/, '.compiled.css');
path = path.replace(/\/cases\//g, '/cases/compiled/');
return path;
}
},
webpack: webpackConfig,
browserNoActivityTimeout: 100000,
singleRun: true,
reporters: ['nyan'],
colors: true,
browsers: ['PhantomJS_custom'],
customLaunchers: {
'PhantomJS_custom': {
base: 'PhantomJS',
options: {
windowName: 'my-window',
settings: {
webSecurityEnabled: false
},
},
flags: ['--load-images=false'],
debug: false
}
},
phantomjsLauncher: {
exitOnResourceError: true
}
};