-
Notifications
You must be signed in to change notification settings - Fork 27k
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
Testing custom Express server using Jest+supertest results in segmentation fault when next.config.js is in the project #31162
Comments
This seems to be related to nodejs/node#35889 |
Same issue appears to be affecting next-page-tester |
I have found that Next. has implemented a configuration to force use of
|
Please verify that your issue can be recreated with Why was this issue marked with the
|
This issue has been automatically closed because it wasn't verified against next@canary. If you think it was closed by accident, please leave a comment. If you are running into a similar issue, please open a new issue with a reproduction. Thank you. |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
What version of Next.js are you using?
12.0.3
What version of Node.js are you using?
14.18.1
What browser are you using?
Firefox
What operating system are you using?
macOS 11.5.2
How are you deploying your application?
Other platform
Describe the Bug
Testing a custom Express server using Jest + supertest while
next.config.js
is in the project results in segmentation fault. All tests run as expected when removing/renaming the config file.The tests also run as expected when downgrading Next to
v11.1.2
.Expected Behavior
Should be able to run the tests.
To Reproduce
Simple reproduction with steps to trigger the error: https://github.com/JosteinKringlen/next-js-jest-segfault-repro
The text was updated successfully, but these errors were encountered: