Skip to content

PM-5505: Keep Topgear payment validation passing#7229

Merged
jmgasper merged 1 commit into
developfrom
PM-5505
Jul 2, 2026
Merged

PM-5505: Keep Topgear payment validation passing#7229
jmgasper merged 1 commit into
developfrom
PM-5505

Conversation

@jmgasper

@jmgasper jmgasper commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

What was broken
Topgear challenge details previously displayed the Wipro payment terms section. The production removal and regression coverage are already present on the current develop base, but the package lint/test command was blocked by a stale unused import in the challenge-detail test suite.

Root cause (if identifiable)
The payment text came from a hardcoded Wipro challenge-details section. After that section was removed, the nearby challenge-detail container test still imported mapStateToProps even though the test no longer used it.

What was changed
Removed the unused mapStateToProps import from the challenge-detail container test so the existing PM-5505/Topgear payment regression coverage and full validation commands run cleanly.

Any added/updated tests
No new tests were needed because develop already includes a focused challenge-detail specification regression test asserting Wipro/Topgear payment terms are not rendered.

Validation

  • npm run jest -- tests/shared/components/challenge-detail/Specification/index.jsx
  • npm run lint
  • npm test
  • npm run build

What was broken
Topgear challenge details previously displayed the Wipro payment terms section. The production removal and regression coverage are already present on the current develop base, but the package lint/test command was blocked by a stale unused import in the challenge-detail test suite.

Root cause (if identifiable)
The payment text came from a hardcoded Wipro challenge-details section. After that section was removed, the nearby challenge-detail container test still imported mapStateToProps even though the test no longer used it.

What was changed
Removed the unused mapStateToProps import from the challenge-detail container test so the existing PM-5505/Topgear payment regression coverage and full validation commands run cleanly.

Any added/updated tests
No new tests were needed because develop already includes a focused challenge-detail specification regression test asserting Wipro/Topgear payment terms are not rendered.
@jmgasper jmgasper requested a review from kkartunov as a code owner July 1, 2026 23:25
@jmgasper jmgasper merged commit 9e9ccfa into develop Jul 2, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant