mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
tests: mock remove from fs-extra
This commit is contained in:
parent
e79a8bd22c
commit
0a91e70541
@ -52,6 +52,7 @@ jest.mock('fs-extra', () => ({
|
|||||||
emptyDir: jest.fn(() => undefined),
|
emptyDir: jest.fn(() => undefined),
|
||||||
ensureDir: jest.fn(() => undefined),
|
ensureDir: jest.fn(() => undefined),
|
||||||
writeJSON: jest.fn(() => undefined),
|
writeJSON: jest.fn(() => undefined),
|
||||||
|
remove: jest.fn(() => undefined),
|
||||||
readJSON: jest.fn(() => ({})),
|
readJSON: jest.fn(() => ({})),
|
||||||
pathExists: jest.fn(() => true),
|
pathExists: jest.fn(() => true),
|
||||||
}));
|
}));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user