Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide an example of how to mock singletons in jest tests (#14)
## Summary: This is the last bit of feedback that needed to be addressed. This PR provides and example in content.mdx for Lesson 3 that demostrates how to structure a singleton so that it can be easily mocked in jest tests. Issue: None ## Test plan: - yarn dev - http://localhost:5173/react-render-perf/lesson-03 - see that the new content is formatted correctly Author: kevinb-khan Reviewers: beaesguerra Required Reviewers: Approved By: beaesguerra Checks: ✅ Lint (ubuntu-latest, 20.x), ✅ Prime node_modules cache for primary configuration (ubuntu-latest, 20.x), ✅ Lint (ubuntu-latest, 20.x), ✅ Prime node_modules cache for primary configuration (ubuntu-latest, 20.x) Pull Request URL: #14
- Loading branch information