From cc533f1b725c8a022b08ac3ae6e70b22f29de68d Mon Sep 17 00:00:00 2001 From: Aarnav Tale Date: Thu, 20 Nov 2025 18:16:53 -0500 Subject: [PATCH] fix: shut up vitest --- tests/unit/setup/overlay-fs.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/setup/overlay-fs.ts b/tests/unit/setup/overlay-fs.ts index d6c3a0d..2ea667e 100644 --- a/tests/unit/setup/overlay-fs.ts +++ b/tests/unit/setup/overlay-fs.ts @@ -9,6 +9,7 @@ export function clearFakeFiles() { fakeFs.clear(); } +// @ts-expect-error: I have no clue why vitest's types are wrong here vi.mock(import('node:fs/promises'), async (importOrig) => { const orig = await importOrig(); return {