How can I change the default Jest package?

I use CRA (with Jest config at "react-scripts").

Can I change the Jest config path?

 

When I add a Jest run configuration by pressing Strg + Shift + F10 it always defaults to "react-scripts" for the Jest config.

I want it to default to "craco" since there is my proper Jest Config. Is that possible?

 

Right now I have to manually set it for every "quick" Jest config.

 

Thank you!

 

 

2 comments
Comment actions Permalink

you can specify the desired path in Jest run configuration template in Run > Edit configurations.. > Templates - new configurations created from gutter will use these settings

0
Comment actions Permalink

Ah. Did not see that Templates folder below.

Thank you!

0

Please sign in to leave a comment.