A node.js project that we developed during lectures with automatic unit tests using jest.
In the project root, install the npm dependencies with the following command
$ npm install
$ node library.js
Linting has been adjusted to not warn for undefined functions that is implicitly defined by jest (describe, it, expect, ..) but also to error when tests are focused (describe.only
, it.only
) or ignored (describe.skip
, it.skip
).
A visual code config has been added to set consistent indentation and handling of file endings according to the style guide.