Testing Edge Cases, Errors and Async Code
Bugs hide at the limits, in the errors and in the code that waits, so this lesson tests all three with Vitest, using toThrow, resolves and rejects, and fake timers that skip ahead in time.
Updated

- Category
- JavaScript
- Level
- Freelancer
- Tags
- Edge Case, Fake Timers, JavaScript, Promise, Test Case, Test Double, unit testing