40da1aeb92
### 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. |
||
---|---|---|
.. | ||
browsers | ||
next-modes | ||
amp-test-utils.js | ||
create-next-install.js | ||
development-sandbox.ts | ||
e2e-utils.ts | ||
flat-map-polyfill.js | ||
mocks-require-hook.js | ||
next-test-utils.ts | ||
next-webdriver.ts | ||
react-channel-require-hook.js | ||
turbo.ts | ||
use-temp-dir.ts |