0.1.2 • Published 7 years ago

webpack-test-machine v0.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Webpack test runner

API

const TestRunner = require('webpack-test-runner-plugin');

module.exports = {
    plugins: [
        new TestRunner(/* options */)
    ]
}

Options

testRoot: string required

engine: (tests: Array<string>) => Promise<void> required

exclude?: Array<RegExp>

include?: Array<RegExp>

router?: (res: path.ParsedPath) => string | Array<string>

precompiler?: (source: string) => string

dependencies?: Array<string>