Skip to content

Commit

Permalink
Fix pretty-format breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed May 27, 2021
1 parent 2f42c97 commit afd39ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ let ReactFeatureFlags;
let Random;

const SEED = process.env.FUZZ_TEST_SEED || 'default';
const prettyFormatPkg = require('pretty-format');
const prettyFormatPkg = require('pretty-format').default;

function prettyFormat(thing) {
return prettyFormatPkg(thing, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const ReactFeatureFlags = require('shared/ReactFeatureFlags');
ReactFeatureFlags.replayFailedUnitOfWorkWithInvokeGuardedCallback = false;
const React = require('react');
const ReactTestRenderer = require('react-test-renderer');
const prettyFormat = require('pretty-format');
const prettyFormat = require('pretty-format').default;

// Isolate noop renderer
jest.resetModules();
Expand Down

0 comments on commit afd39ce

Please sign in to comment.