Our tests have been configured to use the built version of the module (i.e. the version in the /dist
directory). This best reflects how the module is used by users.
If you have made any changes, before running the tests, you must build the module.
This module uses Jest for testing.
You can run tests using the following script:
npm run test
Tests are stored in the /test
directory. All test filenames must end with .test.ts
.