diff --git a/packages/react-native-editor/jest_ui_test_environment.js b/packages/react-native-editor/jest_ui_test_environment.js index 2e245987ec77da..4df51158f0b6a0 100644 --- a/packages/react-native-editor/jest_ui_test_environment.js +++ b/packages/react-native-editor/jest_ui_test_environment.js @@ -12,7 +12,7 @@ const testData = require( './__device-tests__/helpers/test-data' ); * External dependencies */ // eslint-disable-next-line import/no-extraneous-dependencies -const JSDOMEnvironment = require( 'jest-environment-jsdom' ); +const JSDOMEnvironment = require( 'jest-environment-jsdom' ).default; class CustomEnvironment extends JSDOMEnvironment { async setup() {