Repository navigation
fix(client): adjust cert heading - #65552
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes a bug where new v9 certification pages (like Python V9) were displaying an incorrect heading that mentioned "built the following projects" instead of the correct exam-based heading "passed the following exam".
Changes:
- Updated the
getCertHeadingfunction to return the exam heading for all certifications in thecurrentCertificationsarray (A2English, B1English, FoundationalCSharp, JsV9, PythonV9, RelationalDbV9, RespWebDesignV9) - Added import for
currentCertificationsfrom the shared certification-settings module
ShaunSHamilton
approved these changes
Feb 26, 2026
ShaunSHamilton
left a comment
Member
There was a problem hiding this comment.
Thank you for taking the time to contribute.
This LGTM 👍
One improvement I would make in a future PR is refactoring the test. As it stands, the e2e test is acting as a snapshot, but with worse behaviour. Either, this should be replaced with a snapshot test. Or, the certifications should be imported from certification-settings instead of hard-coded.
LGH831
pushed a commit
to LGH831/freeCodeCamp
that referenced
this pull request
Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist:
mainbranch of freeCodeCamp.Closes #65368