fix(short-drama-agent-front): 修复拆解进度展示与问题交互
This commit is contained in:
1 parent
3414cc8232
commit
db91a4b871
19 files changed
+870
-150
No files matched your search
@@ -8,6 +8,7 @@ import ProjectLayout from '@/features/projects/ProjectLayout.vue'
|
||||
import { isProjectComplete } from '@/features/projects/access'
|
||||
import { useProjectContext } from '@/features/projects/context'
|
||||
import { projectsApi } from '@/features/projects/api'
|
||||
import { workflowExecutionApi } from '@/features/workflows/execution-api'
|
||||
import { getOperation } from '@/features/workflows/operations'
|
||||
import type { ProjectDetail, ProjectStageReadiness, ProjectStatus } from '@/features/projects/types'
|
||||
import { readAllStyles } from '@/testing/styles'
|
||||
@@ -34,6 +35,7 @@ function readiness(id: string, ready = true): ProjectStageReadiness {
|
||||
}
|
||||
|
||||
beforeEach(() => {
|
||||
vi.spyOn(workflowExecutionApi, 'latest').mockResolvedValue(null)
|
||||
vi.spyOn(projectsApi, 'stageReadiness').mockImplementation(async id => readiness(id))
|
||||
})
|
||||
let wrapper: VueWrapper | undefined
|
||||
|
||||
Reference in new issue
Block a user