mirror of
https://github.com/microsoft/playwright.git
synced 2024-08-17 08:00:23 +03:00
test: unflake signals temp dir removal test (#31655)
This commit is contained in:
parent
2441c765b1
commit
1b85ec9dc2
@ -302,6 +302,7 @@ function generatePreview(value: any, visited = new Set<any>()): string {
|
||||
}
|
||||
|
||||
async function mergeTraceFiles(fileName: string, temporaryTraceFiles: string[]) {
|
||||
temporaryTraceFiles = temporaryTraceFiles.filter(file => fs.existsSync(file));
|
||||
if (temporaryTraceFiles.length === 1) {
|
||||
await fs.promises.rename(temporaryTraceFiles[0], fileName);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user