freeCodeCamp / freeCodeCamp/classroom
Create Unit Test to Check Whether /classes page loads
Open
- Dominant language
- JavaScript
- Stars
- 155
- Forks
- 138
- PR merge metrics
- No merged PRs in 30d
Description
We should have some sanity tests to make sure all the pages load to prevent issues in the future. It may require a bit of refactor in /classes page, ex: split things out into components.
The unit test should render the classes page and make sure it actually loads at all. This will help prevent issues, for example if we make some unrelated npm change and it breaks the page the test can catch it.
Contributor guide
Assessment
This issue has not been assessed yet.