To get set up:
yarn
To start writing tests:
- Open
helloworld.ts
. This is the code to be tested - Open
helloworld.test.ts
. This is where the unit test definitions will live.
To execute the tests:
- Run
yarn test
to assert tests once - Run
yarn watch
to watch all.ts
files and re-run test assertion on change