Skip to content

test: a small common.skip() improvement proposal #14016

Closed
@vsemozhetbyt

Description

@vsemozhetbyt

Currently, common.skip() only outputs a message, so after each call, we need to add return; in tests — this is +~400 lines of code. Would it be safe to make this function like common.skipIfInspectorDisabled(), i.e. to add process.exit(0); in common.skip() and remove all the return; in tests? If there are some +1 for this proposal, I can try to raise a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testIssues and PRs related to the tests.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions