Experiment with running Jest tests in real browser using karma
- Run
yarn
to install dependencies. - Run
yarn test
to run unit tests. - Run
yarn test:browser
to run browser tests. - Run
yarn build
to run tsc compiler.
The unit tests using Jest (Node.js) and Karma (browser) can be run without
yarn build
thanks to ts-jest
and karma-typescript
.