Parallelizing Jest and Cypress.io Tests on CircleCI
How-to 4 min +40 XP
Jest's --shard flag combined with CircleCI's parallelism setting splits a unit test suite across containers using CIRCLE_NODE_INDEX and CIRCLE_NODE_TOTAL.
Jest's --shard flag combined with CircleCI's parallelism setting splits a unit test suite across containers using CIRCLE_NODE_INDEX and CIRCLE_NODE_TOTAL.