rsnext/test
OJ Kwon 5acabf00d8
test(utils): support turbopack-based overlay error text lookup (#46589
<!--
Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:
-->

- closes WEB-672. 

Due to differences of error overlay layout between turbopack and normal
next-dev, test fixtures cannot lookup corresponding error text with same
data-* tag. Companion PR https://github.com/vercel/turbo/pull/4015 added
new tag for the turbopack specific, and this PR utilizes those if test
runs against --turbo.

## Bug

- [x] Related issues linked using `fixes #number`
2023-03-01 10:23:39 +01:00
..
.stats-app Remove serverComponents from next.conf.js because it's unused (#43805) 2022-12-07 15:57:03 +01:00
__mocks__ Update Edge Runtime (#38862) 2022-07-21 18:29:19 +00:00
development Fix app client child entry not being disposed when deleting the file (#46583) 2023-02-28 23:32:03 +00:00
e2e Add page path to repeated slashes in href error (#46557) 2023-03-01 00:10:11 -08:00
examples Cover 1st-party examples with tests (#45270)Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Tim Neutkens <tim@timneutkens.nl> 2023-02-27 11:54:24 +01:00
integration Add page path to repeated slashes in href error (#46557) 2023-03-01 00:10:11 -08:00
lib test(utils): support turbopack-based overlay error text lookup (#46589 2023-03-01 10:23:39 +01:00
production Add relative app dir field (#46393) 2023-02-24 16:51:07 -08:00
unit fix: generate next-env.d.ts file during next lint command (#46249) 2023-02-28 11:51:22 -08:00
.gitignore Fix server html insertion target (#42591) 2022-11-07 18:16:13 +01:00
jest-setup-after-env.ts Adds tests to ensure eslint-plugin-next's available rules are properly exported and recommended rules are correctly defined. (#38183) 2022-06-30 11:31:33 -05:00
jest.d.ts Adds tests to ensure eslint-plugin-next's available rules are properly exported and recommended rules are correctly defined. (#38183) 2022-06-30 11:31:33 -05:00
readme.md refactor: split up CONTRIBUTING.md (#40515) 2022-09-16 14:54:58 -07:00
test-file.txt

See Testing for more information on how you can run/write/debug tests for Next.js.