mocha-suite-loader
v0.2.0
Published
mocha test suite loader module for webpack
Downloads
2
Readme
mocha test suite file loader for webpack
Usage
Command Line
Hint: when using !
in the bash command line, you must escape it by prepending a \
webpack-dev-server 'mocha-suite!./my-client-tests.js' --options webpackOptions.js
enhanced-require 'mocha-suite!./my-server-tests.js'
webpack.config.js
module.exports = {
entry: 'mocha-suite!./entry-file.js',
output: {
path: __dirname,
filename: 'bundle.js'
}
}
License
MIT (http://www.opensource.org/licenses/mit-license.php)