We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7f0479 commit 71b0e7aCopy full SHA for 71b0e7a
integration-tests/globalSetup.ts
@@ -74,6 +74,10 @@ export async function setup() {
74
export async function teardown() {
75
// Cleanup the test run directory unless KEEP_OUTPUT is set
76
if (process.env['KEEP_OUTPUT'] !== 'true' && runDir) {
77
- await rm(runDir, { recursive: true, force: true });
+ try {
78
+ await rm(runDir, { recursive: true, force: true });
79
+ } catch (e) {
80
+ console.warn('Failed to clean up test run directory:', e);
81
+ }
82
}
83
0 commit comments