Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

test(export): the export-options fixture is removed with the retries Windows needs

esengineaaf2ee38ff61
diff --git a/pipeline/tests/project-export-options.test.ts b/pipeline/tests/project-export-options.test.ts
index 851c8992a..b210efa95 100644
--- a/pipeline/tests/project-export-options.test.ts
+++ b/pipeline/tests/project-export-options.test.ts
@@ -19,7 +19,7 @@ beforeAll(() => {
writeFileSync(path.join(root, 'sign', 'key.pem'), 'KEY');
writeFileSync(path.join(root, 'sign', 'cert.pem'), 'CERT');
});
-afterAll(() => rmSync(root, { recursive: true, force: true }));
+afterAll(() => rmSync(root, { recursive: true, force: true, maxRetries: 10, retryDelay: 50 }));
const manifest = parseManifest({
formatVersion: '1',