From de2bf6632ed95576590c40924e5e65c8c101098e Mon Sep 17 00:00:00 2001 From: GouJ Date: Thu, 24 Sep 2026 19:03:34 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E6=A0=A1=E9=AA=8C=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/features/production/production.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/features/production/production.test.ts b/tests/features/production/production.test.ts index 18d456a..d879b59 100644 --- a/tests/features/production/production.test.ts +++ b/tests/features/production/production.test.ts @@ -262,6 +262,10 @@ describe('镜头生产数据契约', () => { button('预览实际生成输入').click() await flushPromises() expect(fetcher.mock.calls[0]?.[0]).toBe('/api/storyboard-shots/shot-1/keyframe/preview') + expect(JSON.parse(String(fetcher.mock.calls[0]?.[1]?.body))).toMatchObject({ + provider: 'seedream', + generationOptions: {} + }) expect(document.body.textContent).toContain('已选 1 / 2 张') expect(document.body.textContent).toContain('省略 1 张') expect(document.body.textContent).toContain('最终首帧 Prompt')