From a8877de56ff5627bb97ce4d0ab662e843fd4c702 Mon Sep 17 00:00:00 2001 From: Priyesh Shah Date: Wed, 1 Mar 2023 16:46:52 +1100 Subject: [PATCH] Putting jest preset back to test breaking tests --- jest.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jest.config.js b/jest.config.js index e6adb35b7c74..f5ecf90da89f 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,5 +1,7 @@ const testFileExtension = '[jt]s?(x)'; module.exports = { + // TODO: change this back to preset: 'react-native' once we are able fix the tests on React Native >= 0.71.2 + preset: '@testing-library/react-native', testMatch: [ `/tests/ui/**/*.${testFileExtension}`, `/tests/unit/**/*.${testFileExtension}`,