-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
test(nextjs): Refactor server-side integration tests #6909
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
Conversation
// This test asserts that our wrapping of `res.end` doesn't break API routes on Vercel if people call `res.json` or | ||
// `res.send` multiple times in one request handler. | ||
// https://github.com/getsentry/sentry-javascript/issues/6670 | ||
it.skip('should not break API routes on Vercel if people call res.json or res.send multiple times in one request handler', async () => { |
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 test randomly fails with ERR_STREAM_WRITE_AFTER_END
, not sure if it's the testing environment or the case in #6099 still happens.
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.
Yeah I think this is an actual bug in the SDK
size-limit report 📦
|
7abc57f
to
5fb8ac2
Compare
2ecc14b
to
e6b9f4d
Compare
e6b9f4d
to
be99114
Compare
Thanks Onur! |
Ref: #6053
node-integration-tests
package.next.config
template / environment configuration forappDir
tests.