[BUG] yarn test
since the switch to vitest
no longer ignores any folders/symlinks added to module-local-dev/
#3171
Labels
BUG
Something isn't working
Is this a bug in companion itself or a module?
Is there an existing issue for this?
Describe the bug
Running tests for #3170 reports, for me, 42 failing tests -- because I've added ptzoptics-visca and allenheath-sq modules in
module-local-dev/
and I get a bunch of tests failing for "Error: Do not import@jest/globals
outside of the Jest test environment".I looked briefly at 9a78803 which swapped from jest to vitest, and it looks like that swap lost an exclusion of files in
module-local-dev/
. I assume there's some way to do the same with vitest, that's simply missing now, but I don't know it to write the fix.Steps To Reproduce
Expected Behavior
Environment (please complete the following information)
Additional context
The text was updated successfully, but these errors were encountered: