Skip to content


To run unit tests for a package:

npm install
npm run test
  • We use karma + mocha + chai with Chromium/Firefox to run unit tests both locally and in CI.

We could look into jsdom for testing as an alternative. Last time we looked things were blocked on, but this is now fixed. Testing with a fake browser has the downside of missing bugs in real browsers, so not sure if this is worth it.

  • We use cypress to run end-to-end tests on deployed apps both locally and in CI for Chromium/Firefox/Edge.

  • We use GitLab CI for our CI.