Fix browser integration tests

This commit is contained in:
Alex Dima
2021-06-29 08:12:19 +02:00
parent b79ede87bb
commit cc52823098

View File

@@ -71,7 +71,10 @@ async function mkdir(dir: string): Promise<void> {
// doesn't exist, that's OK
}
await fs.promises.mkdir(dir);
try {
await fs.promises.mkdir(dir, { recursive: true });
} catch {
}
}
const MTIME_UPDATE_TIME = 1000; // 1s