Skip to content

toBuffer() causing open handles in jest tests #2490

Closed
@radoslavirha

Description

@radoslavirha

Hi,

I just noticed that version 3.1.0 has trouble with jest. When using jest with --detectOpenHandles flag, jest reports:

Jest has detected the following X open handles potentially keeping Jest from exiting and it's pointing to toBuffer() method.

Tried to downgrade to 2.11.2 and it's fine.

This happened on Mac M1 / Win machine.

Is there any solution? Or I should use downgraded version?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions