Boilerplate project with some examples about how to use the chai-snapshot-matcher
You can install chai-snapshot-matcher using:
- npm:
npm install chai-snapshot-matcher
- yarn:
yarn add chai-snapshot-matcher
This boilerplate project use the chai-snapshot-matcher v1.0.7.
- chai-snapshot-matcher
- mocha
- chai
- eslint and prettier configuration
-
Download or fork the project
-
Install
yarn install
- Run Linter
yarn lint
- Run Tests
yarn test
- Update Snapshots
yarn test --update
- Run in a CI system
yarn test --ci