Skip to content

Is @swc/jest a required peer dependency? #535

@dengribar

Description

@dengribar

After updating @shelf/jest-mongodb to v6.0.0 in our app, Jest test stopped working with error:

Module @swc/jest in the transform option was not found

After I added @swc/jest package as a dev dependency to our app, Jest tests started working again

I didn't find any info regarding @swc/jest peer dependency in the jest-mongodb docs. Is it an expected behaviour that @swc/jest needs to be added to the app dependencies now? Maybe it should be added as a dependency to the @shelf/jest-mongodb instead? 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