fix(short-drama-agent-front): 修复代码格式检查问题
This commit is contained in:
1 parent
81d6a85260
commit
48fce3975f
87 files changed
+5714
-1436
No files matched your search
@@ -122,10 +122,14 @@ describe('剧本完成前的下游访问限制', () => {
|
||||
state.storyboard = { ready: true, reason: null }
|
||||
vi.mocked(projectsApi.stageReadiness).mockImplementation(async () => structuredClone(state))
|
||||
vi.spyOn(projectsApi, 'detail').mockResolvedValue(project(id, 'completed'))
|
||||
vi.spyOn(projectsApi, 'checkpoints').mockResolvedValue([{
|
||||
checkpointId: 'old-pending-review', workflowName: 'breakdown', createdAt: '2026-10-01T00:00:00Z',
|
||||
state: { storyboardNeedsManualReview: true, storyboardShotValidation: { valid: true, issues: [] } }
|
||||
}])
|
||||
vi.spyOn(projectsApi, 'checkpoints').mockResolvedValue([
|
||||
{
|
||||
checkpointId: 'old-pending-review',
|
||||
workflowName: 'breakdown',
|
||||
createdAt: '2026-10-01T00:00:00Z',
|
||||
state: { storyboardNeedsManualReview: true, storyboardShotValidation: { valid: true, issues: [] } }
|
||||
}
|
||||
])
|
||||
const { mounted } = await openProject(`/projects/${id}/visual-style`)
|
||||
expect(mounted).toHaveBeenCalledExactlyOnceWith('visual-style')
|
||||
expect(wrapper!.find(`.n-menu a[href="/projects/${id}/visual-style"]`).exists()).toBe(true)
|
||||
|
||||
Reference in new issue
Block a user