Unverified Commit 4484ef11 authored by OJ Kwon's avatar OJ Kwon Committed by GitHub

test(turbopack): explicitly clean up instance for turbopack (#55772)

### What?

Minor improvement to test fixture to clean up the instance if explicitly specified to continue test. This is required to run turbopack related tests.

Closes WEB-1634
parent 39e688e8
......@@ -198,6 +198,8 @@ export async function createNext(
} catch (_) {}
if (process.env.NEXT_TEST_CONTINUE_ON_ERROR) {
// Other test should continue to create new instance if NEXT_TEST_CONTINUE_ON_ERROR explicitly specified.
nextInstance = undefined
throw err
} else {
process.exit(1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment