Created
August 31, 2016 05:55
-
-
Save zacck-zz/9a6f7bcde39a1bbcd924584900828d27 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var webpackConfig = require('./webpack.config.js'); | |
module.exports = function (config) { | |
config.set({ | |
browsers: ['Chrome'], //browers to use for testng | |
singleRun: true, | |
frameworks: ['mocha'], //frameworks used in testing | |
files: [ | |
'node_modules/script!jquery/dist/jquery.min.js', | |
'node_modules/script!foundation-sites/dist/foundation.min.js', | |
'app/tests/**/*.test.jsx' | |
], //globbing pattern | |
preprocessors: { | |
'app/tests/**/*.test.jsx':['webpack', 'sourcemap'] | |
}, | |
reporters: ['mocha'], | |
client: { | |
mocha: { | |
timeout: '5000' | |
} | |
}, | |
webpack:webpackConfig, | |
webpackServer: { | |
noInfo: true | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment