mirror of
https://github.com/vercel/chat.git
synced 2026-09-14 18:32:29 +08:00
a3cfc1aee3
* Support native tables in slack Brand new per https://docs.slack.dev/reference/block-kit/blocks/table-block/ Only one per message. * Record streams * Error handling * Debugging * fix-delta * fix-delta2 * fix-delta3 * fix-delta4 * fix-delta5 * show-table * show-table2 * replay-test * changeset * lint-types
Integration Tests
Integration tests for the Chat SDK that verify real-world webhook payloads are handled correctly.
Test Categories
- Unit tests (
slack.test.ts,teams.test.ts,gchat.test.ts) - Test adapter functionality with mock payloads - Replay tests (
replay*.test.ts) - Replay actual production webhook recordings
Replay Tests
Replay tests use recorded webhook payloads from production to verify the SDK handles real interactions correctly.
See fixtures/replay/README.md for:
- How to record new fixtures
- Fixture format documentation
- SHA-based recording workflow
- Platform-specific webhook formats
Running Tests
# Run all integration tests
pnpm --filter @chat-adapter/integration-tests test
# Run with watch mode
pnpm --filter @chat-adapter/integration-tests test:watch