techdocs-node: tweak mock-fs setup

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-10-12 11:48:45 +01:00
parent 5213ee63c8
commit 2142f91b35
@@ -219,13 +219,13 @@ describe('GoogleGCSPublish', () => {
},
};
beforeAll(() => {
beforeEach(() => {
mockFs({
[directory]: files,
});
});
afterAll(() => {
afterEach(() => {
mockFs.restore();
});