Skip to content

Commit

Permalink
Fix Jest diff call (#17921)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored Jan 29, 2020
1 parent 29a1559 commit a8fce06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fixtures/dom/src/toWarnDev.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// copied from scripts/jest/matchers/toWarnDev.js
'use strict';

const jestDiff = require('jest-diff');
const jestDiff = require('jest-diff').default;
const util = require('util');

function shouldIgnoreConsoleError(format, args) {
Expand Down
2 changes: 1 addition & 1 deletion scripts/jest/matchers/toWarnDev.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

const jestDiff = require('jest-diff');
const jestDiff = require('jest-diff').default;
const util = require('util');
const shouldIgnoreConsoleError = require('../shouldIgnoreConsoleError');

Expand Down

0 comments on commit a8fce06

Please sign in to comment.