njones / socketio

A Modern SocketIO library for go
MIT License
60 stars 9 forks source link

Refactor tests to allow hooks for advanced testing #59

Closed njones closed 1 year ago

njones commented 1 year ago

Update the tests for the socketio server, so that we can start to add hooks around asserts, then we can test errors and make other advances tests around the happy path, and non-happy path. The commit doesn't add the hooks, but sets up the tests so that we can add a variable number of parameters to test, which in the future will include hooks.