Files
triggerdotdev--trigger.dev/packages
Cursor Agent c6fdda8bd1 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-03-03 15:54:16 +00:00
..
2026-02-20 16:40:06 +00:00
2026-02-20 16:40:06 +00:00
2026-02-20 16:40:06 +00:00