Created
December 17, 2018 10:40
-
-
Save FagnerMartinsBrack/928ccfacba428f5bc5de0927de6df696 to your computer and use it in GitHub Desktop.
(Medium) - The Myth Of 100% Code Coverage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const instance = render(<Counter></Counter>).getInstance(); | |
instance.increment(); | |
instance.increment(); | |
expect(instance.getState()).toEqual({ count: 2 }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment