From 55af8f90d3a03421af91fd03898976ef4c674f69 Mon Sep 17 00:00:00 2001 From: GouJ Date: Thu, 24 Sep 2026 19:04:38 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E8=A1=A5=E5=85=85=E9=A6=96=E5=B8=A7?= =?UTF-8?q?=E9=A2=84=E8=A7=88=E8=AF=B7=E6=B1=82=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/lib/http.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/http.test.ts b/tests/lib/http.test.ts index 0627ebf..5673a2a 100644 --- a/tests/lib/http.test.ts +++ b/tests/lib/http.test.ts @@ -53,7 +53,7 @@ describe('后端 API 契约', () => { await subjectImagesApi.generateProject('project/id', { concurrency: 1, force: false, module: 'prop' }) await subjectIdentityApi.generateProject('project/id', { concurrency: 2, force: false, module: 'scene' }) await subjectIdentityApi.generateStableAnchors('project/id', { module: 'prop', limit: 3, concurrency: 2 }) - await productionApi.previewKeyframe('shot/id') + await productionApi.previewKeyframe('shot/id', {}) expect(fetcher.mock.calls.map(([url, init]) => [url, init?.method])).toEqual([ ['/api/subject-forms/form%2Fid/images/preview', 'POST'], ['/api/projects/project%2Fid/subject-forms/generation-prompts', 'POST'],