Skip to content

ci: run all jest tests in one operation

Administrator requested to merge vb/jest-tests-ci-config into main

Created by: valerybugakov

Context

Some client unit tests were not executed on CI because new client packages were added without updating the corresponding CI steps. To avoid this problem in the future, client unit tests are now divided into three parts:

  1. client/web.
  2. client/browser.
  3. Everything else via the --testPathIgnorePatterns flag.

Also, build-ts and eslint steps are split into standalone CI steps because they do not depend on each other and can be executed independently. It makes the ESLint step ~2m faster.

Test plan

  • Ensure that all jest client tests are executed on CI.
  • Check out the CI build that includes client steps with all changes introduced in this branch.

Merge request reports

Loading