How to check if a class property changed ? #3197
Unanswered
ThomasKleinhans
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
You can ask in Jest community https://www.reactiflux.com/ which will get help quicker and easier :) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi !
I'm new to jest and I don't get how to check if a class property has changed when I call a method from this class.
Class :

How can I test the
removePlayermethod ? I would like to check if the player has correctly been removed and if the playersCount is 1 lessThank you very much !
Beta Was this translation helpful? Give feedback.
All reactions