Skip to content

Add a proccess module to the common libraryΒ #22303

@conectado

Description

@conectado

Describe the solution you'd like
I've been reading the Testing for internet and I've seen the function killChildren repeatedly defined over many files, such as test/internet/test-dgram-multicast-set-interface-lo.js and test/internet/test-dgram-broadcast-multi-process.js, and other similar patterns

Describe alternatives you've considered
I was wondering if it was a good idea to add a process module inside the common library so to not repeat code inside the tests. Otherwise we could add a Utils library.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    testIssues and PRs related to the tests.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions