Repository navigation
Comprehensive test suite for Broadcaster
Changes logs
feat(tests): add comprehensive test suite for Broadcaster package
- Introduced tests for BroadcastTokenGenerator, Channel, and EventBroadcaster functionalities.
- Implemented test cases for token generation, channel authorization, and event broadcasting.
- Created fake classes for database and event dispatching to facilitate testing.
- Added logging capabilities to capture broadcast events for verification.
- Ensured JWT configuration is set up for testing purposes.
- Established a structured approach to testing various broadcasting scenarios, including conditional events and multi-channel broadcasts.