waku-org/go-waku

View on GitHub
waku/v2/protocol/legacy_store/waku_store_protocol_test.go

Summary

Maintainability
B
C
+1 hr
Test Coverage

Function TestWakuStoreWithStaticSharding has 55 lines of code (exceeds 50 allowed). Consider refactoring.
New

func TestWakuStoreWithStaticSharding(t *testing.T) {
    ctx, cancel := context.WithCancel(context.Background())
    defer cancel()

    host1, err := libp2p.New(libp2p.DefaultTransports, libp2p.ListenAddrStrings("/ip4/0.0.0.0/tcp/0"))
Severity: Minor
Found in waku/v2/protocol/legacy_store/waku_store_protocol_test.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status