From 18f41e1217f826ac071f632b72a29280da64f452 Mon Sep 17 00:00:00 2001 From: Marc Pichler Date: Wed, 28 Aug 2024 14:36:57 +0200 Subject: [PATCH] fixup! fix: workaround broken fs types --- api/test/tree-shaking/tree-shaking.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/test/tree-shaking/tree-shaking.test.ts b/api/test/tree-shaking/tree-shaking.test.ts index 81b15698812..65c52890f83 100644 --- a/api/test/tree-shaking/tree-shaking.test.ts +++ b/api/test/tree-shaking/tree-shaking.test.ts @@ -93,7 +93,7 @@ describe('tree-shaking', () => { compiler.inputFileSystem = fs as any as typeof compiler.inputFileSystem; // direct webpack to output to memoryfs rather than to disk compiler.outputFileSystem = { - ...mfs as typeof compiler.outputFileSystem, + ...(mfs as typeof compiler.outputFileSystem), join: path.join, } as any;