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')