rsnext/test/lib
JJ Kasper 826a237b18
Update default tracing root handling (#45864)
This updates the default tracing root used when one isn't manually
provided to be the directory of the closest lockfile. Previously it
defaulted to the directory of the project being built which is incorrect
in monorepos as any top-level dependencies wouldn't be traced correctly.
Our tests were previously passing without this handling due to the env
variable being manually set which this removes.

x-ref: https://github.com/vercel/next.js/discussions/39432
x-ref: https://github.com/vercel/vercel/pull/9402
x-ref: [slack
thread](https://vercel.slack.com/archives/C03S8ED1DKM/p1675821643786319)

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a helpful link attached, see
[`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)
2023-02-13 12:06:12 -08:00
..
browsers Update handling of autoscrolling on navigation in app (#43845) 2023-01-24 15:41:06 +00:00
next-modes Add tests for parallel routes / interception and handle router state patch merging client-side (#45615) 2023-02-13 16:12:44 +01:00
amp-test-utils.js Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
create-next-install.js Fix unsafe caching for isolated tests (#45602) 2023-02-06 09:01:44 +00:00
e2e-utils.ts Refactor next export tests (#45227) 2023-02-02 16:22:54 +00:00
flat-map-polyfill.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
mocks-require-hook.js Validate streaming writer chunk type in testing (#36200) 2022-04-18 16:24:06 +02:00
next-test-utils.js Update default tracing root handling (#45864) 2023-02-13 12:06:12 -08:00
next-webdriver.ts Add Replay integration for dev e2e tests (#40955) 2022-09-29 14:45:10 -07:00
react-channel-require-hook.js Bundle ssr client layer excepts react externals (#41606) 2022-10-22 16:33:51 -07:00
use-temp-dir.ts Update test config (#43661) 2022-12-03 19:49:00 -08:00