Skip to content

Commit

Permalink
Fix #4588 error text inline function (#4593)
Browse files Browse the repository at this point in the history
  • Loading branch information
01binary authored and cpojer committed Oct 3, 2017
1 parent 1cda2e2 commit b2bc5ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-plugin-jest-hoist/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ FUNCTIONS.mock = args => {
const moduleFactory = args[1];
invariant(
moduleFactory.isFunction(),
'The second argument of `jest.mock` must be a function.',
'The second argument of `jest.mock` must be an inline function.',
);

const ids = new Set();
Expand Down

0 comments on commit b2bc5ad

Please sign in to comment.