-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Enable rsc error test #13696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable rsc error test #13696
Conversation
jacob-ebey
commented
May 27, 2025
- wait on /favicon for integration test startup
- serve public assets in parcel rsc integration test fixture
- enable rsc error test for parcel
- serve public assets in parcel rsc integration test fixture - enable rsc error test for parcel
|
integration/rsc/rsc-test.ts
Outdated
@@ -534,11 +534,20 @@ implementations.forEach((implementation) => { | |||
|
|||
test.describe("Errors", () => { | |||
// FIXME: Unsure why these fail currently |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment needs to be removed now?
@@ -463,7 +463,7 @@ async function waitForServer( | |||
|
|||
await waitOn({ | |||
resources: [ | |||
`http://${args.host ?? "localhost"}:${args.port}${args.basename ?? "/"}`, | |||
`http://${args.host ?? "localhost"}:${args.port}${args.basename ?? "/favicon.ico"}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did this need to be changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The underlying logic for detecting "has the server started" seems to need a "success" status code. The test never starts because it responds with a 500. We should always have a favicon though, so just test start against it instead of app logic.