We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Mock for onLayout event not working for AnimatedFlashList imported from @shopify/flash-list
onLayout
AnimatedFlashList
@shopify/flash-list
Mock for onLayout event should be available for AnimatedFlashList imported from @shopify/flash-list, same as FlashList currently.
FlashList
Replace FlashList imports to AnimatedFlashList in any test and it will start failing.
Running test under jest-expo preset
jest-expo
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current behavior
Mock for
onLayout
event not working forAnimatedFlashList
imported from@shopify/flash-list
Expected behavior
Mock for
onLayout
event should be available forAnimatedFlashList
imported from@shopify/flash-list
, same asFlashList
currently.To Reproduce
Replace
FlashList
imports toAnimatedFlashList
in any test and it will start failing.Platform:
Environment
Running test under
jest-expo
presetThe text was updated successfully, but these errors were encountered: