2 comments

As suggested on SO, you need editing Jest run configuration template: jetbrains.com/help/idea/run-debug-configuration.html#templates: choose the desired Jest package there, select jest.json as Configuration file. New configurations will use these settings, the test/suite names and paths will be set automatically based on current context, you don't need to care of specifying them explicitly

1
Avatar
Dale Waterworth

Yes my mistake, had to go 1 level up as my template was wrong and was applying it to all the subsequent run configs.

I deleted all the other templates and clicked 'Edit configuration Template' set the default in there.

Then clicking on the green arrow in the tests work 

Cheers

0

Please sign in to leave a comment.