Skip to content

[feat] Add an option to save the generated jest.config.js #270

@lookfirst

Description

@lookfirst

I want to be able to run jest tests from within my IDE (IDEA). It is far easier to just run jest directly than through tsdx test.

What I did was hacked a console.log() into node_modules/tsdx/lib/index.js, output the generated jest config and saved that in a jest.config.js file. Had to edit it a bit to remove the absolute paths (🤷‍♂ why those are there), but it works perfectly.

So, it would be nice to have something like the eslintconfig save option, but for the jest config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: featureNew feature or requestscope: integrationRelated to an integration, not necessarily to core (but could influence core)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions