Skip to content

Comprehensive test suite for Broadcaster

Choose a tag to compare

@clicalmani clicalmani released this 17 Oct 08:46
· 2 commits to main since this release

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.