Open rbsummers opened 7 months ago
Hey @rbsummers thanks for reporting this issue. I unfortunately don't have time or mental capacity to investigate this issue. Given you have are deep in it, would you be willing to experiment and provide a PR?
You could take a look into this area of the file in node_modules, and experiment with some changes: https://github.com/storybookjs/test-runner/blob/next/src/config/jest-playwright.ts#L78
Describe the bug I'm experiencing something similar to what https://github.com/storybookjs/test-runner/issues/415 showed: whenever I run the test runner, the console starts spitting errors about
jest-haste-map
with references to folders that are outside of the repo.I work in a team with other devs and no one else experiences this. After reading the last comment on the aforementioned issue I realized that tmy setup is slightly different than the rest because I use worktrees, and the problem is likely that the test runner is not finding the expected content inside the
.git
folder, as for worktrees this is not a directory but a reference to the main worktree's one.To Reproduce Steps to reproduce the behavior:
Expected behavior Test runs.
System
Additional context
-s
seems to fix the issue.