Skip to content

Commit e77b146

Browse files
committed
.
1 parent a496028 commit e77b146

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/__tests__/fire-event.test.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -249,16 +249,6 @@ test('fireEvent calls handler on element when both element and parent have handl
249249
expect(parentHandler).not.toHaveBeenCalled();
250250
});
251251

252-
test('fireEvent does not update native state when element is unmounted', async () => {
253-
const { unmount } = await render(<TextInput testID="input" />);
254-
const input = screen.getByTestId('input');
255-
256-
await unmount();
257-
258-
await fireEvent.changeText(input, 'should not update');
259-
expect(nativeState.valueForElement.get(input)).toBeUndefined();
260-
});
261-
262252
test('fireEvent does not throw when called with non-existent event name', async () => {
263253
await render(<Pressable testID="btn" />);
264254
const element = screen.getByTestId('btn');

0 commit comments

Comments
 (0)