test: 补充首帧预览请求参数
This commit is contained in:
1 parent
de2bf6632e
commit
55af8f90d3
1 file changed
+1
-1
@@ -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'],
|
||||
|
||||
Reference in new issue
Block a user