A fork of https://github.com/ueokande/vim-vixen
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
701 B
42 lines
701 B
7 years ago
|
module.exports = function (config) {
|
||
|
|
||
|
config.set({
|
||
|
basePath: '',
|
||
|
frameworks: ['mocha'],
|
||
|
files: [
|
||
|
'**/*.test.js'
|
||
|
],
|
||
|
|
||
|
preprocessors: {
|
||
|
'**/*.test.js': ['webpack']
|
||
|
},
|
||
|
|
||
|
port: 9876,
|
||
|
colors: true,
|
||
|
logLevel: config.LOG_INFO,
|
||
|
|
||
|
customLaunchers: {
|
||
|
FirefoxWebExtRunner: {
|
||
|
base: 'FirefoxWebExt',
|
||
|
sourceDirs: [ '.', 'e2e/ambassador'],
|
||
|
},
|
||
|
},
|
||
|
browsers: ['FirefoxWebExtRunner'],
|
||
|
sauceLabs: {
|
||
|
username: 'michael_jackson'
|
||
|
},
|
||
|
|
||
|
singleRun: true,
|
||
|
|
||
|
webpackMiddleware: {
|
||
|
noInfo: true
|
||
|
},
|
||
|
|
||
|
plugins: [
|
||
|
require('./karma-webext-launcher'),
|
||
|
'karma-mocha',
|
||
|
'karma-webpack',
|
||
|
],
|
||
|
})
|
||
|
}
|