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
This commit is contained in:
Nick Gerleman
2022-12-04 23:06:46 -08:00
committed by Facebook GitHub Bot
parent 2e2cd302f1
commit 1d4396c9d7
+1 -3
View File
@@ -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,