tests/test-console-live.contract.test.mjs
@@ -14,4 +14,8 @@ assert.match(view, /不纳入结果/) assert.doesNotMatch(view, /localStorage\.(setItem|getItem)\([^)]*test/i) assert.match(view, /item\.sourceType !== 'COLLECTOR' \|\| !item\.status \|\| item\.status === 'OPEN'/) assert.doesNotMatch(view, /完整性检查/) assert.doesNotMatch(view, /integrity-panel/) assert.match(api, /COMPLETION_PENDING: '检测完成'/) assert.match(api, /TERMINATED: '检测完成'/) console.log('Ticket09 前端实时控制台契约通过')