Skip to content

Commit

Permalink
Eagerly evaluate jest-matcher-utils from jest-matchers
Browse files Browse the repository at this point in the history
  • Loading branch information
thymikee committed Jun 12, 2017
1 parent 1ea9bc3 commit 5c83993
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/jest-matchers/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import type {
ThrowingMatcherFn,
PromiseMatcherFn,
} from 'types/Matchers';

import utils from 'jest-matcher-utils';
// jest-matcher-utils needs to be eagerly evaluated
const utils = require('jest-matcher-utils');
import matchers from './matchers';
import spyMatchers from './spyMatchers';
import toThrowMatchers from './toThrowMatchers';
Expand Down

0 comments on commit 5c83993

Please sign in to comment.