CLI: Use ink
in CLI
#43232
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.
|