Skip to content
Michael Palumbo edited this page Jul 12, 2020 · 4 revisions

For test-driven development, we are using the node module jest or see doc at https://jestjs.io/

An example of its usage in the gotlib library (used in mischmasch).

Note that when developing your tests, its useful to have the --watch parameter set in the cli arg, as this causes jest to run a test on the specified file each time you save it, (similar to what nodemon does) i.e.

jest --watch __tests__/deltas.test.js
Clone this wiki locally