freeCodeCamp/client/utils
Oliver Eyton-Williams e955bccfcf
refactor: replace isChallenge (#50033)
* 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
2023-04-13 15:25:12 +00:00
..
gatsby refactor: replace isChallenge (#50033) 2023-04-13 15:25:12 +00:00
build-challenges.js fix(tools): rename and update curriculum scripts (#49620) 2023-03-08 12:02:54 +00:00
challenge-types.js feat(curriculum): add college algebra cert as upcoming change (#43605) 2023-03-10 10:55:50 +00:00
help-category-map.json feat: break shopping cart down into steps (#49416) 2023-04-12 14:05:08 +02:00
index.ts feat(client): ts-migrate client/utils/** (#42823) 2021-08-09 10:30:31 +02:00
tags.tsx fix(curriculum,client): move the Euler Project to its own superBlock (#49294) 2023-03-23 21:29:13 +05:30
test-utils.jsx feat: display multifile projects (#45220) 2022-03-02 19:49:54 -06:00