Skip to content

Conversation

@ChristopherChudzicki
Copy link
Contributor

What are the relevant tickets?

Followup to 7d2de23#diff-6e015416135b772547f762a64d1f386d43e5b72aa74379ceff856aa36fd92292

Description (What does it do?)

The jest.config.ts file was erroneously deleted in 7d2de23#diff-6e015416135b772547f762a64d1f386d43e5b72aa74379ceff856aa36fd92292, which means the main workspace tests on NextJs branch are urrently not running. This re-enables them.

How can this be tested?

CI should pass

describe("ProgramLetterDisplayPage", () => {
it("Renders a program letter from api", async () => {
// See https://github.com/mitodl/hq/issues/5694
it.skip("Renders a program letter from api", async () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This failure was introduced after the tests started being skipped. It's not straightforward to fix—primarily because it's not straightforward to load relevant test data to verify any changes in the UI.

See https://github.com/mitodl/hq/issues/5694

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like at some point the program letter intercept view (which is what actually generates the letter and passes the user along was removed along with tests for some reason. Fine with skipping this for now until we re-enable that

@ChristopherChudzicki ChristopherChudzicki marked this pull request as ready for review October 2, 2024 17:47
@ChristopherChudzicki ChristopherChudzicki added the Needs Review An open Pull Request that is ready for review label Oct 2, 2024
@shanbady shanbady self-requested a review October 2, 2024 17:53
@shanbady shanbady self-assigned this Oct 2, 2024
Copy link
Contributor

@shanbady shanbady left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ChristopherChudzicki ChristopherChudzicki merged commit 94c8816 into nextjs Oct 2, 2024
11 checks passed
@odlbot odlbot mentioned this pull request Oct 22, 2024
74 tasks
@rhysyngsun rhysyngsun deleted the cc/nextjs-restore-tests branch February 7, 2025 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review An open Pull Request that is ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants