Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 640 Bytes

File metadata and controls

13 lines (8 loc) · 640 Bytes

rhdh-e2e-test-utils

Documentation is available online:

Testing

Unit tests use Node’s built-in test runner (node:test) and are discovered by pattern.

  • Run tests: yarn test (builds then runs all tests under dist/ matching **/*.test.js).
  • Add or change tests: Add a *.test.ts file next to the code under src/ (e.g. src/utils/foo.test.ts). It is compiled to dist/ and picked up automatically; no need to update the test script.