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 testto assert tests once - Run
yarn watchto watch all.tsfiles and re-run test assertion on change