This commit is contained in:
Norbert de Langen 2022-10-28 11:42:39 +02:00
parent 2a970630b6
commit 6a46ee1730
No known key found for this signature in database
GPG Key ID: FD0E78AF9A837762

View File

@ -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');