Added logging.

This commit is contained in:
Jay
2026-02-04 13:10:44 -05:00
parent 541ad9f96e
commit af54f2b41c
9 changed files with 632 additions and 37 deletions

View File

@@ -46,7 +46,7 @@ func TestConnectionSend(t *testing.T) {
for _, tc := range cases {
t.Run(tc.name, func(t *testing.T) {
conn, err := NewConnection("ws://test", nil)
conn, err := NewConnection("ws://test", nil, nil)
assert.NoError(t, err)
tc.setup(conn)
@@ -76,7 +76,7 @@ func TestConnectionSend(t *testing.T) {
// Run with `go test -race` to ensure no race conditions occur
func TestConnectionSendConcurrent(t *testing.T) {
conn, err := NewConnection("ws://test", nil)
conn, err := NewConnection("ws://test", nil, nil)
assert.NoError(t, err)
// continuously consume outgoing channel in background