test: Add unit tests for WebSocketTransport #4
Annotations
9 errors
lint:
transport_websocket_test.go#L795
Function TestWebSocketTransport_CallsOnPacketHandler missing the call to method parallel (paralleltest)
|
lint:
transport_websocket_test.go#L799
Function TestWebSocketTransport_Send_WritesPacket_WithOpenState missing the call to method parallel (paralleltest)
|
lint:
transport_websocket_test.go#L803
Function TestWebSocketTransport_Send_IgnoresPacket_WithClosedState missing the call to method parallel (paralleltest)
|
lint:
transport_websocket_test.go#L807
Function TestWebSocketTransport_Close_SetsStateToClosing missing the call to method parallel (paralleltest)
|
lint:
transport_websocket_test.go#L811
Function TestWebSocketTransport_Close_SendsClosePacket missing the call to method parallel (paralleltest)
|
lint:
transport_websocket_test.go#L815
Function TestWebSocketTransport_Close_CallsOnCloseHandler missing the call to method parallel (paralleltest)
|
lint:
transport_websocket_test.go#L819
Function TestWebSocketTransport_Close_CallsOnPacketHandler missing the call to method parallel (paralleltest)
|
lint:
socket_test.go#L34
error-nil: use require.NoErrorf (testifylint)
|
lint
issues found
|