- `); - }); - - it('renders styles', async () => { - const style = { - display: 'flex', - flex: 1, - backgroundColor: 'white', - marginInlineStart: 10, - pointerEvents: 'none', - }; - - // $FlowFixMe[incompatible-type] - const instance = await create(); - - expect(instance.toJSON()).toMatchInlineSnapshot(` - - `); - }); -}); diff --git a/packages/react-native/Libraries/Components/__tests__/Button-itest.js b/packages/react-native/Libraries/Components/__tests__/Button-itest.js index 07d4d5370dd5..5ff8d88e138f 100644 --- a/packages/react-native/Libraries/Components/__tests__/Button-itest.js +++ b/packages/react-native/Libraries/Components/__tests__/Button-itest.js @@ -243,5 +243,48 @@ describe('