fix: RN Gesture Handler Pressable support (#1746)

This commit is contained in:
Maciej Jastrzebski
2025-02-25 23:22:16 +01:00
committed by GitHub
parent a9c056bd02
commit bd78a26b2a
10 changed files with 224 additions and 74 deletions
@@ -20,7 +20,7 @@ describe('AnimatedView', () => {
);
expect(screen.root).toHaveStyle({ opacity: 0 });
await act(() => jest.advanceTimersByTime(250));
act(() => jest.advanceTimersByTime(250));
expect(screen.root).toHaveStyle({ opacity: 1 });
});
@@ -32,7 +32,7 @@ describe('AnimatedView', () => {
);
expect(screen.root).toHaveStyle({ opacity: 0 });
await act(() => jest.advanceTimersByTime(250));
act(() => jest.advanceTimersByTime(250));
expect(screen.root).toHaveStyle({ opacity: 1 });
});
});