diff --git a/test/src/helpers/packTester.ts b/test/src/helpers/packTester.ts index 547d5fac4a7..25b6c713067 100644 --- a/test/src/helpers/packTester.ts +++ b/test/src/helpers/packTester.ts @@ -156,8 +156,8 @@ export async function assertPack(fixtureName: string, packagerOptions: PackagerO tmpDir, }) } - })() - // (): any => (tmpDir === checkOptions.tmpDir ? null : tmpDir.cleanup()) + })(), + (): any => (tmpDir === checkOptions.tmpDir ? null : null) ) }