Merge pull request #14102 from backstage/rugvip/mock-ffs
techdocs-node: tweak mock-fs setup
This commit is contained in:
@@ -219,13 +219,13 @@ describe('GoogleGCSPublish', () => {
|
||||
},
|
||||
};
|
||||
|
||||
beforeAll(() => {
|
||||
beforeEach(() => {
|
||||
mockFs({
|
||||
[directory]: files,
|
||||
});
|
||||
});
|
||||
|
||||
afterAll(() => {
|
||||
afterEach(() => {
|
||||
mockFs.restore();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user