chore(#10336): fire changes

This commit is contained in:
Acid Chicken (硫酸鶏) 2023-04-06 13:50:56 +09:00
parent 993aff9d60
commit 56a602f67c
No known key found for this signature in database
GPG key ID: 3E87B98A3F6BAB99

View file

@ -1,4 +1,5 @@
/* eslint-disable @typescript-eslint/explicit-function-return-type */ /* eslint-disable @typescript-eslint/explicit-function-return-type */
import { waitFor } from '@storybook/testing-library';
import { StoryObj } from '@storybook/vue3'; import { StoryObj } from '@storybook/vue3';
import MkPageHeader from './MkPageHeader.vue'; import MkPageHeader from './MkPageHeader.vue';
export const Empty = { export const Empty = {
@ -22,16 +23,16 @@ export const Empty = {
template: '<MkPageHeader v-bind="props" />', template: '<MkPageHeader v-bind="props" />',
}; };
}, },
async play() {
const wait = new Promise((resolve) => setTimeout(resolve, 800));
await waitFor(async () => await wait);
},
args: { args: {
static: true, static: true,
tabs: [], tabs: [],
}, },
parameters: { parameters: {
layout: 'centered', layout: 'centered',
chromatic: {
/* This component has animations that are implemented with JavaScript. So it's unstable to take a snapshot. */
disableSnapshot: true,
},
}, },
} satisfies StoryObj<typeof MkPageHeader>; } satisfies StoryObj<typeof MkPageHeader>;
export const OneTab = { export const OneTab = {