rsnext/test/lib
OJ Kwon 40da1aeb92
test(nexttestsetup): teardown nextinstance gracefully (#55144)
### What?

https://vercel.slack.com/archives/C04KC8A53T7/p1694190462958199

I realized we throws an error attempt to destory against undefined instance when `beforeAll` fails in any reason. This is quite redundant error since if next instance doesn't exist, likely there's an upstream test failures already and destory against undefined error is not useful to debug anyway.

PR replaces `nextTestSetup`'s teardown first, for the remaining places calling `next.destory` explicitly will be amended later.
2023-09-11 15:29:49 +00:00
..
browsers Remove pong HMR event as it is not used (#54965) 2023-09-04 13:27:47 +00:00
next-modes Redesign nextjs logging (#54713) 2023-09-05 11:40:00 +00: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 Revert "Implement new forking technique for vendored packages. (#51083)" (#53640) 2023-08-06 13:00:12 -07: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 test(nexttestsetup): teardown nextinstance gracefully (#55144) 2023-09-11 15:29:49 +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.ts test(nexttestsetup): teardown nextinstance gracefully (#55144) 2023-09-11 15:29:49 +00:00
next-webdriver.ts fix routing bug when bfcache is hit following an mpa navigation (#54081) 2023-08-16 17:55:06 +00: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