diff --git a/src/test/index.ts b/src/test/index.ts index 1859a2fda27b1..8db7954274795 100644 --- a/src/test/index.ts +++ b/src/test/index.ts @@ -162,8 +162,12 @@ export const test = _baseTest.extend {}); + try { + const videoPath = await video.path(); + await fs.promises.unlink(videoPath); + } catch (e) { + // Silent catch. + } })); } },