rsnext/test/integration/config
Sam Ko 8c7f0dc960
Fix flaky test by removing unecessary NODE_OPTIONS='--inspect' (#63025)
## Why?

We have a flaky test with `NODE_OPTIONS='--inspect'` test in
https://github.com/vercel/next.js/blob/canary/test/integration/cli/test/index.test.js
because with Turbopack, we run several integration tests concurrently.

Our integration tests are ran concurrently, so anything that adds
`NODE_OPTIONS='--inspect'` can clash with another when `run-tests.js` is
ran. Hence, the result below.

-
https://github.com/vercel/next.js/actions/runs/8189378285/job/22394053022?pr=62999

You can confirm this locally by running `TURBOPACK=1 node run-tests.js
--test-pattern
"test\\/integration\\/(cli|config-mjs)\\/test\\/index\\.test\\.js"`.

## Changes

Both
https://github.com/vercel/next.js/blob/canary/test/integration/config-mjs/test/index.test.js
and
https://github.com/vercel/next.js/blob/canary/test/integration/config/test/index.test.js
add a now unnecessary `NODE_OPTIONS='--inspect'`, so we should be good
to remove them.

Closes NEXT-2759
2024-03-07 17:18:26 -08:00
..
components Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
node_modules Add eslint-plugin-jest (#13003) 2020-05-18 13:16:07 -04:00
pages Remove webpack 4 support (#29660) 2021-10-06 17:40:01 +02:00
test Fix flaky test by removing unecessary NODE_OPTIONS='--inspect' (#63025) 2024-03-07 17:18:26 -08:00
.gitignore Exposing configuration to the server / client side (minor) (#3882) 2018-02-26 12:03:27 +01:00
next.config.js Remove buildId test as it's no longer relevant (#56316) 2023-10-02 18:20:47 +00:00