Merge pull request #14102 from backstage/rugvip/mock-ffs

techdocs-node: tweak mock-fs setup
This commit is contained in:
Patrik Oldsberg
2022-10-13 10:42:41 +01:00
committed by GitHub
@@ -219,13 +219,13 @@ describe('GoogleGCSPublish', () => {
},
};
beforeAll(() => {
beforeEach(() => {
mockFs({
[directory]: files,
});
});
afterAll(() => {
afterEach(() => {
mockFs.restore();
});