mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 08:10:24 +01:00
chore(#10336): fire changes
This commit is contained in:
parent
993aff9d60
commit
56a602f67c
1 changed files with 5 additions and 4 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue