jest-wrap

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

jest

npm run --silent jest:standard && npm run --silent jest:only

lint

eslint '**/*.js'

tape

node test/tape

test

npm run --silent tests-only

jest18

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

jest19

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

jest20

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

pretest

npm run --silent lint

coverage

npm run --silent jest20.0 && npm run --silent cover:clean && npm run --silent cover:tape && npm run --silent cover:jest && npm run --silent cover:merge && npm run --silent cover:check

jest18.0

npm run --silent install:jest18.0 && npm run --silent jest

jest18.x

npm run --silent install:jest18.x && npm run --silent jest

jest19.0

npm run --silent install:jest19.0 && npm run --silent jest

jest19.x

npm run --silent install:jest19.x && npm run --silent jest

jest20.0

npm run --silent install:jest20.0 && npm run --silent jest

jest20.x

npm run --silent install:jest20.x && npm run --silent jest

posttest

npm run --silent security

security

nsp check

jest:only

jest test/jest-only/*

cover:jest

npm run cover:jest:standard && npm run cover:jest:only

cover:tape

istanbul cover test/tape --dir coverage/tape

prepublish

safe-publish-latest

tests-only

npm run --silent tape | faucet && npm run --silent jest20 && npm run --silent jest19 && npm run --silent jest18

cover:check

istanbul check-coverage && echo 100% code coverage, achievement unlocked!

cover:clean

rimraf coverage

cover:merge

istanbul-merge --out coverage/coverage.raw.json 'coverage/*/coverage.raw.json' && istanbul report --format html

jest:standard

jest test/jest/*

cover:jest:only

npm run jest:only -- --coverage --coverageDirectory coverage/jest-only

install:jest18.0

npm install --silent [email protected] && jest --version

install:jest18.x

npm install --silent [email protected] && jest --version

install:jest19.0

npm install --silent [email protected] && jest --version

install:jest19.x

npm install --silent [email protected] && jest --version

install:jest20.0

npm install --silent [email protected] && jest --version

install:jest20.x

npm install --silent [email protected] && jest --version

cover:jest:standard

npm run jest:standard -- --coverage --coverageDirectory coverage/jest

Metadata

  • MIT
  • >= 0.4
  • Jordan Harband
  • released 5/13/2017

Downloads

Maintainers