diff --git a/code/lib/core-client/src/start.test.ts b/code/lib/core-client/src/start.test.ts index be8b344b90e..ca3bd0f39e1 100644 --- a/code/lib/core-client/src/start.test.ts +++ b/code/lib/core-client/src/start.test.ts @@ -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');