We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ea9bc3 commit 5c83993Copy full SHA for 5c83993
1 file changed
packages/jest-matchers/src/index.js
@@ -18,8 +18,8 @@ import type {
18
ThrowingMatcherFn,
19
PromiseMatcherFn,
20
} from 'types/Matchers';
21
-
22
-import utils from 'jest-matcher-utils';
+// jest-matcher-utils needs to be eagerly evaluated
+const utils = require('jest-matcher-utils');
23
import matchers from './matchers';
24
import spyMatchers from './spyMatchers';
25
import toThrowMatchers from './toThrowMatchers';
0 commit comments