diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-29 16:09:27 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-29 16:09:27 +0900 |
| commit | d9d796b204881fc14196b89230daa84564f599cf (patch) | |
| tree | fbf60d910d5934399963b356061df01217c8a0e9 /packages/frontend/src/components/MkChannelFollowButton.stories.impl.ts | |
| parent | refactor(frontend): use symbol for di (diff) | |
| download | sharkey-d9d796b204881fc14196b89230daa84564f599cf.tar.gz sharkey-d9d796b204881fc14196b89230daa84564f599cf.tar.bz2 sharkey-d9d796b204881fc14196b89230daa84564f599cf.zip | |
lint fixes
Diffstat (limited to 'packages/frontend/src/components/MkChannelFollowButton.stories.impl.ts')
| -rw-r--r-- | packages/frontend/src/components/MkChannelFollowButton.stories.impl.ts | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/packages/frontend/src/components/MkChannelFollowButton.stories.impl.ts b/packages/frontend/src/components/MkChannelFollowButton.stories.impl.ts index a42e80c27a..4304c2e2b7 100644 --- a/packages/frontend/src/components/MkChannelFollowButton.stories.impl.ts +++ b/packages/frontend/src/components/MkChannelFollowButton.stories.impl.ts @@ -2,20 +2,18 @@ * SPDX-FileCopyrightText: syuilo and misskey-project * SPDX-License-Identifier: AGPL-3.0-only */ - -/* eslint-disable @typescript-eslint/explicit-function-return-type */ -/* eslint-disable import/no-default-export */ -import type { StoryObj } from '@storybook/vue3'; + import { HttpResponse, http } from 'msw'; import { action } from '@storybook/addon-actions'; import { expect, userEvent, within } from '@storybook/test'; import { channel } from '../../.storybook/fakes.js'; import { commonHandlers } from '../../.storybook/mocks.js'; import MkChannelFollowButton from './MkChannelFollowButton.vue'; +import type { StoryObj } from '@storybook/vue3'; import { i18n } from '@/i18n.js'; function sleep(ms: number) { - return new Promise(resolve => setTimeout(resolve, ms)); + return new Promise(resolve => window.setTimeout(resolve, ms)); } export const Default = { |