Closed aptlyundecided closed 4 years ago
Literally just get jest working, so I can write unit tests for things, instead of little script files peppered all over the place.
https://github.com/aptlyundecided/TomatoProgramming/blob/master/typescript/Handbook%20Practice/_Interfaces/tests/generic.spec.ts
There you go.
Functioning, no-purpose test which passes when you run "npm test"
can't beat that
Literally just get jest working, so I can write unit tests for things, instead of little script files peppered all over the place.