mocha-wrap

v1.0.1
Fluent pluggable interface for easily wrapping `describe` and `it` blocks in Mocha tests.
mocha test javascript js chai before after beforeEach afterEach and 8 more...

lint

eslint '**/*.js'

tape

node test

test

npm run --silent tests-only

cover

npm run --silent cover:tape && npm run --silent cover:mocha && npm run --silent cover:merge && npm run --silent cover:check

mocha

mocha test/mocha

mocha1

npm run --silent mocha1.1 && npm run --silent mocha1.x

mocha2

npm run --silent mocha2.0 && npm run --silent mocha2.x

pretest

npm run --silent lint

mocha1.1

npm run --silent install:mocha1.1 && npm run --silent mocha -- --ignore-leaks

mocha1.x

npm run --silent install:mocha1.x && npm run --silent mocha -- --ignore-leaks

mocha2.0

npm run --silent install:mocha2.0 && npm run --silent mocha

mocha2.x

npm run --silent install:mocha2.x && npm run --silent mocha

posttest

npm run --silent cover

cover:tape

istanbul cover test/index.js --dir coverage/tape

tests-only

npm run --silent tape | faucet && npm run --silent mocha1 && npm run --silent mocha2

cover:check

istanbul check-coverage

cover:merge

node bin/merge-coverage && istanbul report --format html

cover:mocha

istanbul cover ./node_modules/.bin/_mocha --dir coverage/mocha -- test/mocha --recursive --reporter=min

install:mocha1.1

npm install [email protected] && mocha --version

install:mocha1.x

npm install [email protected] && mocha --version

install:mocha2.0

npm install [email protected] && mocha --version

install:mocha2.x

npm install [email protected] && mocha --version

Metadata

  • MIT
  • >= 0.4
  • Jordan Harband
  • released 3/4/2016

Downloads

Maintainers