Skip to content

Commit 5c83993

Browse files
committed
Eagerly evaluate jest-matcher-utils from jest-matchers
1 parent 1ea9bc3 commit 5c83993

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/jest-matchers/src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import type {
1818
ThrowingMatcherFn,
1919
PromiseMatcherFn,
2020
} from 'types/Matchers';
21-
22-
import utils from 'jest-matcher-utils';
21+
// jest-matcher-utils needs to be eagerly evaluated
22+
const utils = require('jest-matcher-utils');
2323
import matchers from './matchers';
2424
import spyMatchers from './spyMatchers';
2525
import toThrowMatchers from './toThrowMatchers';

0 commit comments

Comments
 (0)