enzyme-to-json
v3.3.1 enzyme jest snapshot wrapper pretty-format cheerio convert testing unit and 2 more...
build
babel src -d ./
clean
rm *.js
prepublishOnly
npm run build
lint
eslint src tests/core && npm run 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
npm run lint && npm run test-core
test-core
NODE_ENV=test jest --coverage
npm i [email protected]
Metadata
- MIT
- >=4.0.0
- Adrien Antoine
- released 1/23/2018