Relative Content

Tag Archive for javascriptgitjestjsgit-worktree

How can I ignore the test directory from git worktree in jest?

I am using jest testing framework with a git worktree. I have one branch of the worktree in a seperate directory. Because of this, I have two __tests__ directories, ./__tests__, and docusaurus/__tests__/. I want to ignore the tests directory in docusaurus. How do I do that? This didn’t help.