@@ -141,6 +141,7 @@ describe("D5 tool-rendering-default-catchall — validateDefaultCatchall", () =>
141141 statusAttributePresent : true ,
142142 observedToolNames : [ "get_weather" ] ,
143143 observedStatuses : [ "complete" ] ,
144+ customLeakPhrasePresent : false ,
144145 } ) ;
145146 expect ( err ) . toMatch ( / n o s t a t u s p i l l / ) ;
146147 } ) ;
@@ -166,6 +167,7 @@ describe("D5 tool-rendering-default-catchall — validateDefaultCatchall", () =>
166167 statusAttributePresent : false ,
167168 observedToolNames : [ ] ,
168169 observedStatuses : [ ] ,
170+ customLeakPhrasePresent : false ,
169171 } ) ;
170172 expect ( err ) . toMatch ( / \( n o n e \) / ) ;
171173 } ) ;
@@ -205,6 +207,7 @@ describe("D5 tool-rendering-default-catchall — probeDefaultCatchall", () => {
205207 statusAttributePresent : true ,
206208 observedToolNames : [ "get_weather" ] ,
207209 observedStatuses : [ "complete" ] ,
210+ customLeakPhrasePresent : false ,
208211 } ) ;
209212 } ) ;
210213
@@ -223,6 +226,7 @@ describe("D5 tool-rendering-default-catchall — probeDefaultCatchall", () => {
223226 statusAttributePresent : false ,
224227 observedToolNames : [ ] ,
225228 observedStatuses : [ ] ,
229+ customLeakPhrasePresent : false ,
226230 } ) ;
227231 } ) ;
228232} ) ;
@@ -316,7 +320,9 @@ describe("D5 tool-rendering-default-catchall — customLeakPhrasePresent branch
316320 const err = mod . validateDefaultCatchall ( {
317321 containerWithToolName : true ,
318322 statusPillPresent : true ,
323+ statusAttributePresent : true ,
319324 observedToolNames : [ "get_weather" ] ,
325+ observedStatuses : [ "complete" ] ,
320326 customLeakPhrasePresent : true ,
321327 } ) ;
322328 expect ( err ) . not . toBeNull ( ) ;
@@ -331,7 +337,9 @@ describe("D5 tool-rendering-default-catchall — customLeakPhrasePresent branch
331337 mod . validateDefaultCatchall ( {
332338 containerWithToolName : true ,
333339 statusPillPresent : true ,
340+ statusAttributePresent : true ,
334341 observedToolNames : [ "get_weather" ] ,
342+ observedStatuses : [ "complete" ] ,
335343 customLeakPhrasePresent : false ,
336344 } ) ,
337345 ) . toBeNull ( ) ;
@@ -343,7 +351,9 @@ describe("D5 tool-rendering-default-catchall — customLeakPhrasePresent branch
343351 mod . validateDefaultCatchall ( {
344352 containerWithToolName : true ,
345353 statusPillPresent : true ,
354+ statusAttributePresent : true ,
346355 observedToolNames : [ "get_weather" ] ,
356+ observedStatuses : [ "complete" ] ,
347357 // customLeakPhrasePresent omitted — treated as false.
348358 } ) ,
349359 ) . toBeNull ( ) ;
0 commit comments