Skip to content

node does not exit #369

@electriquo

Description

@electriquo

i use prom-client version 12.0.0.

when i run jest --detectOpenHandles i get

Jest has detected the following 1 open handle potentially keeping Jest from exiting:

  ●  ELDHISTOGRAM

      3 | const client = require("prom-client");
      4 | const prefix = "name_";
    > 5 | client.collectDefaultMetrics({ prefix });

following not returning an interval, i saw the docs update. also looked at the tests and saw that indeed clearInterval() is called.

could one please shed the light on how should prom-client be closeed properly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions