Skip to content

Commit 1874456

Browse files
committed
Fix failing tests
1 parent c99bda0 commit 1874456

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

code/lib/create-storybook/src/initiate.test.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ import { ProjectType } from '../../../core/src/cli/project_types';
77
import { telemetry } from '../../../core/src/telemetry';
88
import { promptInstallType, promptNewUser } from './initiate';
99

10+
vi.mock('./ink/steps/checks/packageVersions', () => ({
11+
packageVersions: {},
12+
}));
13+
14+
vi.mock('./ink/steps/checks/vitestConfigFiles', () => ({
15+
vitestConfigFiles: {},
16+
}));
17+
1018
vi.mock('prompts', { spy: true });
1119
vi.mock('../../../core/src/telemetry');
1220

0 commit comments

Comments
 (0)