Skip to content

Commit

Permalink
Add support for concurrent each in jest circus
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark1626 committed Dec 18, 2019
1 parent 9d2077a commit 255138b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import {
addSerializer,
buildSnapshotResolver,
} from 'jest-snapshot';
import {bindConcurrent} from 'jest-each';
import throat from 'throat';
import {
ROOT_DESCRIBE_BLOCK_NAME,
Expand Down Expand Up @@ -99,6 +100,8 @@ export const initialize = ({
return concurrent;
})(nodeGlobal.test);

nodeGlobal.test.each.concurrent = bindConcurrent(nodeGlobal.test.concurrent);

addEventHandler(eventHandler);

if (environment.handleTestEvent) {
Expand Down

0 comments on commit 255138b

Please sign in to comment.