Skip to content

Commit

Permalink
refactor(jest/setup.js): make paths to polyfills relative
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxyq authored Nov 16, 2022
1 parent bdb6312 commit 2c6d253
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jest/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
const MockNativeMethods = jest.requireActual('./MockNativeMethods');
const mockComponent = jest.requireActual('./mockComponent');

jest.requireActual('@react-native/js-polyfills/Object.es8');
jest.requireActual('@react-native/js-polyfills/error-guard');
jest.requireActual('../packages/polyfills/Object.es8');
jest.requireActual('../packages/polyfills/error-guard');

global.__DEV__ = true;

Expand Down

0 comments on commit 2c6d253

Please sign in to comment.