mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 08:01:20 +08:00
fix
This commit is contained in:
parent
2a970630b6
commit
6a46ee1730
@ -15,7 +15,7 @@ import {
|
||||
|
||||
import { start as realStart } from './start';
|
||||
|
||||
jest.mock('@storybook/preview-web/dist/WebView');
|
||||
jest.mock('../../preview-web/src/WebView');
|
||||
jest.spyOn(WebView.prototype, 'prepareForDocs').mockReturnValue('docs-root');
|
||||
jest.spyOn(WebView.prototype, 'prepareForStory').mockReturnValue('story-root');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user