fix(aihr): preserve assignment source labels

This commit is contained in:
2026-07-14 14:08:13 +08:00
parent 750e546e47
commit ac7dfbe8a7
3 changed files with 29 additions and 2 deletions
@@ -149,6 +149,8 @@ test('学习页展示真实错题本并可进入已有再练任务', async () =>
assert.match(source, /pendingAssignmentKey/);
assert.match(source, /mistakeFilters/);
assert.match(source, /visibleMistakes/);
assert.match(source, /source === 'retry'[\s\S]*错题再练/);
assert.match(source, /source === 'camp'[\s\S]*训练营/);
assert.match(practiceService, /\/api\/aihr\/mobile\/practice\/mistakes/);
});