Skip to content

Jest detecting open handle from shifty require #156

@BoldBigflank

Description

@BoldBigflank

When I load shifty like so

const { interpolate } = require('shifty')

My jest tests that load this module will not exit properly. When I run

 npx jest --detectOpenHandles --bail

The result suggests that the require is a "open handle potentially keeping Jest from exiting".

I'm kind of inexperienced in this, but does this make sense even though there isn't really any Promise/async stuff happening in the require?

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