阶段4:推进启动稳定性与组合根注入
This commit is contained in:
1 parent
9da450d940
commit
d2d8e02a39
36 files changed
+830
-168
No files matched your search
@@ -22,10 +22,11 @@ describe('ItemList batch state',
|
||||
expect(canStartBatch(null)).toBe(false);
|
||||
});
|
||||
|
||||
// 运行中和安全取消中的任务都必须继续轮询远端结果。
|
||||
test('keeps polling running and canceling tasks',
|
||||
// 轮询场景回调验证运行和取消中的任务状态。
|
||||
// 等待、运行中和安全取消中的任务都必须继续轮询远端结果。
|
||||
test('keeps polling pending, running and canceling tasks',
|
||||
// 轮询场景回调验证等待、运行和取消中的任务状态。
|
||||
() => {
|
||||
expect(isBatchInProgress('pending')).toBe(true);
|
||||
expect(isBatchInProgress('running')).toBe(true);
|
||||
expect(isBatchInProgress('canceling')).toBe(true);
|
||||
expect(isBatchInProgress('completed')).toBe(false);
|
||||
|
||||
Reference in new issue
Block a user