Testing with Jest is simple and delightful! This repository contains a couple of simple example tests.
After cloning this repository, install the dependencies with yarn or npm:
yarn install
or
npm install
Then run the tests with
yarn run jest
or
./node_modules/.bin/jest
To see the coverage report use this command
yarn run jest -- --coverage
or
./node_modules/.bin/jest --coverage