freeCodeCamp / freeCodeCamp/classroom

Create Unit Test to Check Whether /classes page loads

Open
#305 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.