rsnext/test/lib
Jiachi Liu 7818c2d736
Allow using ESM pkg with custom incremental cache (#59863)
Use dynamic import instead of require to load the incremental cache
handled, so when using ESM it will still work.

Updated the tests and merged them into new test suite, include 3 cases
of custom cache definition:
- CJS with `module.exports`
- CJS with `exports.default` with ESM mark
- ESM with `export default`

Closes NEXT-1924
Fixes #58509
2024-01-03 14:22:50 +01:00
..
browsers fix(playwright): teardown when global quit force terminates browser (#59548) 2023-12-12 15:18:47 -08:00
next-modes Allow using ESM pkg with custom incremental cache (#59863) 2024-01-03 14:22:50 +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 Refactor repo-setup.js (#58131) 2023-11-07 13:01:12 +00:00
development-sandbox.ts fix app-hmr-changes.test.ts by updating next-tweet (#52046) 2023-06-30 23:09:09 +00:00
e2e-utils.ts special case timeout on windows (#56120) 2023-09-28 03:46:04 +00:00
next-test-utils.ts Revert "fix: gracefully shutdown server (#59551)" (#59792) 2023-12-20 07:43:27 +01:00
next-webdriver.ts fix inconsistent scroll restoration behavior (#59366) 2023-12-07 11:17:15 -08:00
react-channel-require-hook.js Preload css (#48840) 2023-04-27 12:51:52 +02:00
turbo.ts remove --turbo, use --experimental-turbo as --turbo (#55063) 2023-09-06 17:46:54 +00:00
use-temp-dir.ts fix(cli): handle Tailwind CSS + src/ correctly (#47238) 2023-03-20 14:21:29 -07:00