1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-19 14:45:38 +02:00

fix: update summaly (#17355)

* fix: update summaly

* Update Changelog
This commit is contained in:
かっこかり
2026-05-03 15:48:22 +09:00
committed by GitHub
parent f5a3d8996d
commit 39032c4b1b
9 changed files with 102 additions and 90 deletions

View File

@@ -6,13 +6,11 @@
import { describe, test, assert, afterEach } from 'vitest';
import { render, cleanup, type RenderResult } from '@testing-library/vue';
import './init';
import type { summaly } from '@misskey-dev/summaly';
import type { SummalyResult } from '@misskey-dev/summaly';
import { components } from '@/components/index.js';
import { directives } from '@/directives/index.js';
import MkUrlPreview from '@/components/MkUrlPreview.vue';
type SummalyResult = Awaited<ReturnType<typeof summaly>>;
describe('MkUrlPreview', () => {
const renderPreviewBy = async (summary: Partial<SummalyResult>): Promise<RenderResult> => {
if (!summary.player) {