feat(short-drama-agent-front): 补齐后端生产与质量功能
This commit is contained in:
1 parent
967c4ebea1
commit
470b52e26d
52 files changed
+3754
-1075
No files matched your search
@@ -28,7 +28,7 @@ afterEach(() => {
|
||||
}
|
||||
})
|
||||
|
||||
/** 所有预检均是模拟 GET;生成接口只记录契约,不调用真实 Provider。 */
|
||||
/** 预检支持正式 POST plan;付费启动单独计数,不调用真实 Provider。 */
|
||||
function stageFixture() {
|
||||
return { total: 1, planned: 1, skipped: 0, upstreamResolvable: 0, manualBlocked: 0 }
|
||||
}
|
||||
@@ -147,7 +147,10 @@ function server() {
|
||||
plan,
|
||||
status,
|
||||
fetcher,
|
||||
posts: () => fetcher.mock.calls.filter(([, init]) => init?.method === 'POST')
|
||||
posts: () =>
|
||||
fetcher.mock.calls.filter(
|
||||
([url, init]) => init?.method === 'POST' && !String(url).endsWith('/production/plan')
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user