You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have a setup with directories e.g.:
/tests
/func/func1
From func/func1 if I run "jest" in terminal the test runs fine, but when I run via. jest-runner it uses the project root scope, which means relative paths are broken (e.g. file loads).
I've tried the following:
adding jest-config.json to the local folder
adding jest config section to package.json in the local folder
using VSCode settings variables in the jestrunner config path setting, e.g.: /${relativeFileDirname}/jest-config.json (they appear to be all blank at runtime)
Any advice on how to run as the open directory?
The text was updated successfully, but these errors were encountered:
Hi,
I have a setup with directories e.g.:
/tests
/func/func1
From func/func1 if I run "jest" in terminal the test runs fine, but when I run via. jest-runner it uses the project root scope, which means relative paths are broken (e.g. file loads).
I've tried the following:
Any advice on how to run as the open directory?
The text was updated successfully, but these errors were encountered: