Mercurial
diff mrjunejune/test/conversation_api_test.js @ 261:b401627fc49e
Add JRPG mock flows and interactive previews
Add scripted mock SSE commands, custom event forwarding, animated chat turns, full-height message navigation, and a cyberpunk resume dossier.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <mrjunejune@users.noreply.github.com> |
|---|---|
| date | Wed, 05 Aug 2026 20:38:32 -0700 |
| parents | 1f9877b637e9 |
| children | 04fee26ecce0 |
line wrap: on
line diff
--- a/mrjunejune/test/conversation_api_test.js Wed Aug 05 09:19:41 2026 -0700 +++ b/mrjunejune/test/conversation_api_test.js Wed Aug 05 20:38:32 2026 -0700 @@ -149,6 +149,8 @@ ); const stream = await response.text(); assert.match(stream, /event: turn\.accepted/); + assert.match(stream, /event: tool\.started/); + assert.match(stream, /"tool":\{"name":"mock-search"\}/); assert.match(stream, /event: assistant\.delta/); assert.match(stream, /hello \\"traveler\\"\\\\path/); assert.match(stream, /event: assistant\.completed/);