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 Jun 30, 2021
1 parent 377d076 commit 8d12937
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 @@ -7,7 +7,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 8d12937

Please sign in to comment.