How to execute clear_jest in project directory?

Currently when I configure the command to clear the cache it runs in my root folder (image below).

but I would like it to run only in the project folder (image below)

. How would I make him run the command in the project folder?

My current config is 

0
2 comments

The IDE runs Jest in the specified working directory, that is set to your project folder, as far as I can see from screenshot.... What is a result of running the same command in terminal (in your project dir)? According to docs, this command clears the Jest default cache directory unless the cache folder is passed explicitly: https://jestjs.io/docs/cli#--clearcache

1

From what I understand they both work in the same directory. I was wrong... Thanks for the reply

0

Please sign in to leave a comment.