'Diffs.ShouldHaveChanges()' passing when there are no changes. #1008
Answered
by
linkdotnet
ricardo-noyolalozano
asked this question in
Q&A
|
I have a test that clicks on a collapsible panel twice to close and then re-open it. The open state looks or should look exactly the same as the first render. When I run 'GetChangesSinceFirstRender()' on the rendered component after the second click, I get back an empty ReadOnlyList. Just wondering if this is a bug or whether I'm not thinking about this correctly. Using bUnit version: 1.16.2 |
Answered by
linkdotnet
Mar 1, 2023
Replies: 1 comment 3 replies
|
I guess to give you educated advise, we would need to see the code of your
All in all, it would be helpful to see the code. |
3 replies
Answer selected by
ricardo-noyolalozano
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Hey @ricardo-noyolalozano,
I guess to give you educated advise, we would need to see the code of your
CollapsePanel. A few general thoughts I want to give you, that might be the "culprit"::checkedpseudoelement to make the collapsible happen. This will not work with bUnit