From 1d4396c9d7d281eced6f3aeed077e35233bc3b40 Mon Sep 17 00:00:00 2001 From: Nick Gerleman Date: Sun, 4 Dec 2022 23:06:46 -0800 Subject: [PATCH] Re-enable Text Test Using New Style Prop Summary: D41708199 (https://github.com/facebook/react-native/commit/3e91415696a77e5106cc9cd58077632fdf534b37) updated `deprecated-react-native-prop-types` so we should be able to re-enable this test, which I previously disabled as part of making RN tests fail on `console.error()`/`console.warn()` (i.e. any test unintentionally creating a redbox/yellowbox). Changelog: [Internal] Reviewed By: yungsters Differential Revision: D41724052 fbshipit-source-id: 4e91809940c4bf9bde416367326167598a4d1354 --- Libraries/Text/__tests__/Text-test.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Libraries/Text/__tests__/Text-test.js b/Libraries/Text/__tests__/Text-test.js index 17cc0f294b4..af02de98211 100644 --- a/Libraries/Text/__tests__/Text-test.js +++ b/Libraries/Text/__tests__/Text-test.js @@ -174,9 +174,7 @@ describe('Text compat with web', () => { `); }); - // T138851366: prop-types are out of date causing a redbox - // eslint-disable-next-line jest/no-disabled-tests - it.skip('renders styles', () => { + it('renders styles', () => { const style = { display: 'flex', flex: 1,