Prep for the workshop on 19.11.2021
- Clone repo
npm install
npm run test
After the test
command you should see:
> jstalks.19.nov.2021.workshop@1.0.0 test
> jest
PASS src/code.test.js
sum
√ should return the sum of two numbers (2 ms)
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files | 100 | 100 | 100 | 100 |
code.js | 100 | 100 | 100 | 100 |
----------|---------|----------|---------|---------|-------------------
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: 0.393 s, estimated 1 s
Ran all test suites.