[article](link to article).
- Install packages:
yarn
- Serve files before test:
yarn serve
- From other terminal window, run tests:
yarn test
index.html
- файл, к которому подключен скрипт с бизнес-логикой;main.js
- скрипт с бизнес-логикой;test.js
- файл с тестами.