mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
* refactor: replace isChallenge Determining if a path is a challenge by the number of path segments is brittle and we ended up writing bizarre things like isChallenge(nextChallengePath). This should be a little more robust. i.e. if we need to know if a page is a challenge, we can check the challengeMeta * test: update tests with new logic |
||
|---|---|---|
| .. | ||
| challenge-page-creator.js | ||
| index.js | ||
| layout-selector.test.tsx | ||
| layout-selector.tsx | ||