mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-31 05:03:21 +08:00
Move test + try to fix
This commit is contained in:
parent
328a1eb96a
commit
a452c860aa
@ -1,8 +1,9 @@
|
||||
import fs from 'fs';
|
||||
import { getReactScriptsPath } from '../cra-config';
|
||||
import { getReactScriptsPath } from './cra-config';
|
||||
|
||||
jest.mock('fs', () => ({
|
||||
realpathSync: jest.fn(),
|
||||
existsSync: () => true,
|
||||
}));
|
||||
jest.mock('mini-css-extract-plugin', () => {});
|
||||
|
Loading…
x
Reference in New Issue
Block a user