test: supply holdDeferKeepIndex to the CEO routing mocks and follow split-overflow into the marathon lane

The registered-callback fixtures mock ceo-mode-option and lacked the new
export; the split fixtures asserted the periodic tier; the registered-budget
check looked for split-overflow only in the periodic manifest.
This commit is contained in:
garrytan committed 2026-09-29 21:33:13 +00:00
1 parent bf4667146c
commit 958d1ceba6
6 files changed
+14 -8

No files matched your search

+1
View File
@@ -52,6 +52,7 @@ mock.module(path.join(root,'test/helpers/ceo-mode-option.ts'),()=>({
ceoExpansionPacingChoice:()=>{current.pacingChoices++;return scenario.startsWith('pacing')&&(!current.pacingSent||scenario==='pacing-repeated')?{call:{questions:[]},index:scenario==='pacing-unsupported'?0:1}:null;},
ceoExpansionPacingReady:()=>{current.pacingChecks++;return (scenario==='pacing'||scenario==='pacing-repeated')&&current.pacingChecks>=3;},
ceoModeSubmissionInput:()=>scenario==='mode-submit'&&!current.submitted?'\\r':null,
holdDeferKeepIndex:()=>null,
nextCeoModeNavigation:(_visible,target)=>{
if(scenario==='navigation')throw new Error('fixture navigation failed');
current.mode=target; return {kind:'mode',index:target==='HOLD SCOPE'?2:1,question};