Skip to content

test: Add unit tests for WebSocketTransport #4

test: Add unit tests for WebSocketTransport

test: Add unit tests for WebSocketTransport #4

Triggered via push September 13, 2024 19:28
Status Failure
Total duration 28s
Artifacts
Fit to window
Zoom out
Zoom in

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