atool-test-mocha
v0.2.1
Published
Unit testing tool based on mocha & sinon & chai, run tests with jsdom
Downloads
264
Maintainers
Readme
atool-test-mocha
note
: Tests with browser, use atool-test
Simple configuration, run tests with jsdom.
Built-in
Usage
npm install atool-test-mocha --save-dev
"srcipts": {
"test": "atool-test-mocha"
}
Options
--coverage
: coverage output;--custom-compiler
: set path of custom compiler file;- support mocha cli options (
--bail
,--timeout
,--watch
,--recursive
...)
Custom testDir
default tests dir test
, cutom dir atool-test-mocha ${customDirName}