(Medium) - The Myth Of 100% Code Coverage
This article is too short to generate a summary.
This file contains hidden or 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 }); |
Report this article
Tell us what's wrong. Every field is optional.