enzyme-to-json
v3.6.1 enzyme jest snapshot wrapper pretty-format cheerio convert testing unit and 2 more...
build
babel src -d ./
clean
rm *.js
prepublishOnly
yarn build
lint
eslint src tests/core && yarn format-check
format
prettier src/**/*.js tests/core/*.js tests/core/**/*.js --write --single-quote --trailing-comma all --no-bracket-spacing
format-check
prettier-check src/**/*.js tests/core/*.js tests/core/**/*.js --write --single-quote --trailing-comma all --no-bracket-spacing
test
yarn lint && yarn test-core
test-core
NODE_ENV=test jest --coverage
npm i [email protected]
Metadata
- MIT
- >=6.0.0
- Adrien Antoine
- released 9/28/2020