Skip to content

tests: decrease redundancy in utils for different protocols #2087

Open
@danisharora099

Description

@danisharora099

This is a change request

Problem

We have different utils being setup for different tests, specifically protocols. This, in places, is starting to get redundant and would be good to keep /tests/ folder strictly spec files while all utils can live in /src/ instead (along with other utils)

Proposed Solutions

Abstract away different utils like https://github.com/waku-org/js-waku/blob/master/packages/tests/tests/filter/utils.ts and

export async function startAndConnectLightNode(
into root level utils (in /src perhaps)

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    debtTechnical debt markertestIssue related to the test suite with no expected consequence to production code

    Type

    No type

    Projects

    Status

    To Do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions