From 2c6d253682b0c95ea4c49223078296f5701edfeb Mon Sep 17 00:00:00 2001 From: Ruslan Lesiutin Date: Wed, 16 Nov 2022 22:21:00 +0000 Subject: [PATCH] refactor(jest/setup.js): make paths to polyfills relative --- jest/setup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jest/setup.js b/jest/setup.js index 511c6642a4691f..5cac7400c96764 100644 --- a/jest/setup.js +++ b/jest/setup.js @@ -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;