From af9731d6cd7a366716d1e6e2fe4f1a37936a4d6c Mon Sep 17 00:00:00 2001 From: Dan Skinner Date: Tue, 15 Oct 2024 16:21:28 +0100 Subject: [PATCH] set jest env --- jest.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index a7aa6ccd0..472b782d7 100644 --- a/jest.config.js +++ b/jest.config.js @@ -51,7 +51,9 @@ module.exports = { 'plugin-simple-throttle', 'plugin-console-breadcrumbs', 'plugin-browser-session' - ]), + ], { + testEnvironment: '/jest/FixJSDOMEnvironment.js' + }), project('react native', [ 'react-native', 'delivery-react-native',