Skip to content

how to disable globaldispatcher? potential source of error in our unit tests #3517

@Uzlopak

Description

@Uzlopak

I was testing #3495 with the undici repo and in node 18 and 20 the test passed. but in node 22 the test failed, by pointing to the core version of undici. Of course the global dispatcher should be globally active. But in this case it actually could mean, that we wont see regressions because we use the global dispatcher of core and not the dispatcher from our package/ repo.

We need to ensure, that our tests not use the globaldipsatcher from core.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions