mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 07:41:58 +08:00
20 lines
386 B
Plaintext
20 lines
386 B
Plaintext
```ts
|
|
// tests/Form.test.ts
|
|
|
|
import { composeStory } from '@storybook/vue3';
|
|
|
|
import * as FormStories from './LoginForm.stories';
|
|
|
|
const { ValidForm } = composeStories(FormStories, {
|
|
decorators: [
|
|
// Define your story-level decorators here
|
|
],
|
|
globalTypes: {
|
|
// Define your global types here
|
|
},
|
|
parameters: {
|
|
// Define your story-level parameters here
|
|
},
|
|
});
|
|
```
|