How to set, reset and clear mocks, stubs and spies in Jest
- Node 10
- Yarn 1.x or npm
- Clone the repository
npm installinstalls all required dependencies.
npm run <script>should also work
yarn testruns the tests with Jest
yarn lintwill lint all of the files with xo
yarn formatwill run lint with
--fixoption on all the examples files (and tests).
Code is licensed under the MIT License.