From 2142f91b359048fd9319ebf72e918b72a6ecb7c6 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Wed, 12 Oct 2022 11:48:45 +0100 Subject: [PATCH] techdocs-node: tweak mock-fs setup Signed-off-by: Patrik Oldsberg --- .../techdocs-node/src/stages/publish/googleStorage.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/techdocs-node/src/stages/publish/googleStorage.test.ts b/plugins/techdocs-node/src/stages/publish/googleStorage.test.ts index 896e528644..4418e00c81 100644 --- a/plugins/techdocs-node/src/stages/publish/googleStorage.test.ts +++ b/plugins/techdocs-node/src/stages/publish/googleStorage.test.ts @@ -219,13 +219,13 @@ describe('GoogleGCSPublish', () => { }, }; - beforeAll(() => { + beforeEach(() => { mockFs({ [directory]: files, }); }); - afterAll(() => { + afterEach(() => { mockFs.restore(); });