@@ -1015,7 +1015,8 @@ it.instance("cancel interrupts loop and resolves with an assistant message", ()
10151015 if ( Exit . isSuccess ( exit ) ) {
10161016 expect ( exit . value . info . role ) . toBe ( "assistant" )
10171017 }
1018- } ) )
1018+ } ) ,
1019+ )
10191020
10201021it . instance ( "cancel records MessageAbortedError on interrupted process" , ( ) =>
10211022 Effect . gen ( function * ( ) {
@@ -1038,7 +1039,8 @@ it.instance("cancel records MessageAbortedError on interrupted process", () =>
10381039 expect ( info . error ?. name ) . toBe ( "MessageAbortedError" )
10391040 }
10401041 }
1041- } ) )
1042+ } ) ,
1043+ )
10421044
10431045raceNoLLMServer . instance (
10441046 "finalizes assistant when cancelled before processor creation completes" ,
@@ -1271,7 +1273,8 @@ it.instance("concurrent loop callers all receive same error result", () =>
12711273 } )
12721274 expect ( a . info . id ) . toBe ( b . info . id )
12731275 expect ( a . info . role ) . toBe ( "assistant" )
1274- } ) )
1276+ } ) ,
1277+ )
12751278
12761279it . instance ( "prompt submitted during an active run is included in the next LLM input" , ( ) =>
12771280 Effect . gen ( function * ( ) {
@@ -1311,9 +1314,7 @@ it.instance("prompt submitted during an active run is included in the next LLM i
13111314 sessions
13121315 . messages ( { sessionID : chat . id } )
13131316 . pipe (
1314- Effect . map ( ( msgs ) =>
1315- msgs . some ( ( msg ) => msg . info . role === "user" && msg . info . id === id ) ? true : undefined ,
1316- ) ,
1317+ Effect . map ( ( msgs ) => ( msgs . some ( ( msg ) => msg . info . role === "user" && msg . info . id === id ) ? true : undefined ) ) ,
13171318 ) ,
13181319 "timed out waiting for second prompt to save" ,
13191320 )
@@ -1338,7 +1339,8 @@ it.instance("prompt submitted during an active run is included in the next LLM i
13381339 const messages = inputs . at ( - 1 ) ?. messages
13391340 if ( ! Array . isArray ( messages ) ) throw new Error ( "expected LLM messages" )
13401341 expect ( messages . at ( - 1 ) ) . toEqual ( { role : "user" , content : "second" } )
1341- } ) )
1342+ } ) ,
1343+ )
13421344
13431345it . instance ( "assertNotBusy fails with BusyError when loop running" , ( ) =>
13441346 Effect . gen ( function * ( ) {
@@ -1364,7 +1366,8 @@ it.instance("assertNotBusy fails with BusyError when loop running", () =>
13641366
13651367 yield * prompt . cancel ( chat . id )
13661368 yield * Fiber . await ( fiber )
1367- } ) )
1369+ } ) ,
1370+ )
13681371
13691372noLLMServer . instance ( "assertNotBusy succeeds when idle" , ( ) =>
13701373 Effect . gen ( function * ( ) {
@@ -1401,7 +1404,8 @@ it.instance("shell rejects with BusyError when loop running", () =>
14011404
14021405 yield * prompt . cancel ( chat . id )
14031406 yield * Fiber . await ( fiber )
1404- } ) )
1407+ } ) ,
1408+ )
14051409
14061410unixNoLLMServer (
14071411 "shell captures stdout and stderr in completed tool output" ,
@@ -2149,7 +2153,8 @@ it.instance("records aborted errors when prompt is cancelled mid-stream", () =>
21492153 if ( last ?. info . role === "assistant" ) {
21502154 expect ( last . info . error ?. name ) . toBe ( "MessageAbortedError" )
21512155 }
2152- } ) )
2156+ } ) ,
2157+ )
21532158
21542159// Agent variant
21552160
0 commit comments