waku/v2/protocol/lightpush/waku_lightpush_test.go
Function TestWakuLightPush
has 64 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func TestWakuLightPush(t *testing.T) {
testTopic := "/waku/2/go/lightpush/test"
node1, sub1, host1 := makeWakuRelay(t, testTopic)
defer node1.Stop()
defer sub1.Unsubscribe()
Function TestWakuLightPushCornerCases
has 52 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func TestWakuLightPushCornerCases(t *testing.T) {
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
testTopic := "/waku/2/go/lightpush/test"