mocha-suite-loader

0.2.0 • Public • Published

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)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    0
  • 0.1.1
    1
  • 0.1.0
    1

Package Sidebar

Install

npm i mocha-suite-loader

Weekly Downloads

2

Version

0.2.0

License

none

Last publish

Collaborators

  • jharris4