jest-enzyme

v7.1.2
Testing Matchers for Enzyme
javascript shallow rendering shallowRender test reactjs react flux testing test utils and 5 more...

pretest

node ../../scripts/jest.js

test

node ../../node_modules/jest-cli/bin/jest.js __tests__

failing:test

node ../../node_modules/jest-cli/bin/jest.js __failing_tests__

jest

node ../../node_modules/jest-cli/bin/jest.js __tests__

lint

eslint ./src

clean

rm -rf ./lib

build:js

babel --root-mode upward src --out-dir lib --ignore '**/__tests__/*.js' --ignore '**/__failing_tests__/*.js'

build:flow

flow-copy-source -v -i '**/__tests__/*.js' -i '**/__failing_tests__/*.js' src lib

copy-dts

cpy src/index.d.ts lib

build

npm run clean && npm run build:js && npm run build:flow && npm run copy-dts

prepublish

npm run build
npm i jest-enzyme

Metadata

  • MIT
  • Whatever
  • Blaine Kasten
  • released 10/29/2019

Downloads

Maintainers