knowledge
knowledge copied to clipboard
Principles of unit testing
Proposal
Basics of unit testing with Jest:
- testing pure functions
- deciding on test cases
- structuring tests for readability
- mocking, DI
Take away
Should have a clearer idea of how to approach testing own code.