Stack Overflow in Blazor BUnit Test for Component Rendering Based on Viewport Size #1507
Replies: 2 comments 2 replies
-
Hey @chiptech-mitchell, I saw you closed the ticket. Was this on accident or did you find a resolution? |
Beta Was this translation helpful? Give feedback.
2 replies
-
No state persistence that I can see, which was why it was so strange. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm encountering a stack overflow issue when running a BUnit test for a Blazor component (AppBar) that conditionally renders elements based on the viewport size. The test that causes the stack overflow involves large viewports (Xxl, Xl, Lg, Md), while the test for small viewports (Sm, Xs) passes without issues.
The test breaks when trying to render the component but I can't figure out what is going on, any help would be appreciated. This is my component, if it will help.
Beta Was this translation helpful? Give feedback.
All reactions