diff --git a/code/lib/codemod/src/transforms/__tests__/mdx-to-csf.test.ts b/code/lib/codemod/src/transforms/__tests__/mdx-to-csf.test.ts index 669a836e65ea..f26c475d9fa8 100644 --- a/code/lib/codemod/src/transforms/__tests__/mdx-to-csf.test.ts +++ b/code/lib/codemod/src/transforms/__tests__/mdx-to-csf.test.ts @@ -473,6 +473,42 @@ test('story name equals component name', () => { `); }); +test('story name equals component name for vue', () => { + const input = dedent` + import { Meta, Story } from '@storybook/addon-docs'; + import Button from './Button.vue'; + + + +