Skip to content

CLI: Use ink in CLI #43232

CLI: Use ink in CLI

CLI: Use ink in CLI #43232

Triggered via pull request January 27, 2025 12:04
Status Failure
Total duration 11m 37s
Artifacts

tests-unit.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

2 errors
src/ink/utils/runConfigGeneration.test.ts > createMainFile > should return a string: code/lib/create-storybook/src/ink/utils/runConfigGeneration.test.ts#L20
Error: Snapshot `createMainFile > should return a string 1` mismatched - Expected + Received " import type { StorybookConfig } from 'react-vite'; const config: StorybookConfig = { - stories: ['../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'], + stories: ["../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"], framework: { - name: 'react-vite', + name: "@storybook/react-vite", - options: {} + options: {} }, addons: [{ - name: '@storybook/addon-essentials', + name: "@storybook/addon-essentials", - options: { + + options: { - docs: false + docs: false - } + } - }, '@storybook/experimental-addon-test'] + }, "@storybook/experimental-addon-test"] }; export default config; " ❯ src/ink/utils/runConfigGeneration.test.ts:20:20
Core Unit Tests, windows-latest
Process completed with exit code 1.