Skip to content

[Feature]: Properly export type utils or move to separate lib #3045

@rethab

Description

@rethab

🚀 Feature Proposal

with #2096 the utility types were exported. while they can now be used by other projects, the import from 'ts-jest/dist/utils/testing' makes it feel like it might not have been intended to really be used by other projects :)

What do you think about this? Do you think they should be used by other projects and therefore exported from the top level? Or should these types be moved to a separate project? Either a new one, jest or jest-extended?

Motivation

These types are super useful in projects. Implementing this proposal will give them a feel of first-class support :)

Example

No response

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