A minimal boilerplate that supports in-browser and node tests.
Run yarn
Run yarn start
. Then navigate to http://localhost:8080/webpack-dev-server
. Select your bundle.
test
will run all the browser tests you have in your test foldermain
will load whatever you've imported toindex.ts
in the src folder
For tests that you don't want run in the browser, use npm run test:node
. This will run any tests that have the format *.node-spec.ts