Skip to content

Conversation

mdjastrzebski
Copy link
Member

Summary

toBeVisible() can throw error when StyleSheet.flatten() returns undefined in some edge cases. This PR allows for undefined and prevents the error.

Test plan

Added tests that triggered error.

@mdjastrzebski mdjastrzebski merged commit be31579 into main Jul 26, 2024
@mdjastrzebski mdjastrzebski deleted the fix/to-be-visible-edge-case branch July 26, 2024 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant