Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mocks unavailable for AnimatedFlashList #825

Open
2 tasks
iamshadmirza opened this issue Apr 25, 2023 · 0 comments
Open
2 tasks

Mocks unavailable for AnimatedFlashList #825

iamshadmirza opened this issue Apr 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@iamshadmirza
Copy link
Contributor

Current behavior

Mock for onLayout event not working for AnimatedFlashList imported from @shopify/flash-list

Expected behavior

Mock for onLayout event should be available for AnimatedFlashList imported from @shopify/flash-list, same as FlashList currently.

To Reproduce

Replace FlashList imports to AnimatedFlashList in any test and it will start failing.

Platform:

  • iOS
  • Android

Environment

Running test under jest-expo preset

@iamshadmirza iamshadmirza added the bug Something isn't working label Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant