Files
triggerdotdev--trigger.dev/packages
Cursor Agent 358f75e7e8 test: add comprehensive unit tests for TriggerChatTransport
Tests cover:
- Constructor with required and optional options
- sendMessages triggering task and returning UIMessageChunk stream
- Correct payload structure sent to trigger API
- Custom streamKey in stream URL
- Extra headers propagation
- reconnectToStream with existing and non-existing sessions
- createChatTransport factory function
- Error handling for API failures
- regenerate-message trigger type

Co-authored-by: Eric Allam <eric@trigger.dev>
2026-04-17 16:19:23 +01:00
..
2026-04-13 13:24:38 +01:00
2026-04-13 13:24:38 +01:00
2026-04-13 13:24:38 +01:00
2026-04-13 13:24:38 +01:00
2026-04-13 13:24:38 +01:00