layout | title | has_toc | nav_exclude |
---|---|---|---|
default |
Testing |
false |
true |
{% include header.html %}
To run unit tests:
- from terminal: run
npm run test
- from VS Code: menu
Terminal
>Run Task...
> [npm: test] - if you have installed the NPM Support for VS Code
plugin: press
Ctrl-R, T
.
For unit tests, we use following tools:
- Karma as a test runner
- Jasmine as a testing framework
- fetch-mock to mock the
fetch
API