1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-25 10:54:56 +02:00
This commit is contained in:
kakkokari-gtyih
2026-07-08 09:05:41 +09:00
parent 1565c0f844
commit cc418615ba
2 changed files with 2 additions and 1 deletions

View File

@@ -6,6 +6,7 @@
process.env.NODE_ENV = 'test';
import * as assert from 'assert';
import { describe, test, beforeAll } from 'vitest';
import { api, post, react, signup, waitFire } from '../utils.js';
import type * as misskey from 'misskey-js';

View File

@@ -495,7 +495,7 @@ export function select<C extends OptionValue, D extends C | null = null>(props:
}
export function selectPeriod(options: { title?: string } = {}): Promise<MkPeriodDialogDoneEvent> {
return new Promise(async (resolve) => {
return new Promise((resolve) => {
const { dispose } = popup(defineAsyncComponent(() => import('@/components/MkPeriodDialog.vue')), {
title: options.title,
}, {