network imports not working on vmThreads
and vmForks
pools
#4995
Labels
feat: vm pool
Issues related to VM pool
p2-edge-case
Bug, but has workaround or limited in scope (priority)
Describe the bug
Related to
Non-VM pools should be working after #4987, but VM pool seems to have a problem since it relies on custom import handler, which doesn't support pulling modules for network I suppose:
vitest/packages/vitest/src/runtime/external-executor.ts
Line 38 in 3981435
Reproduction
Can be reproduced on Vitest repo via:
(Actually
--experimental-network-imports
is irrelevant for VM sinceimport
is based on custom implementation)vitest/test/network-imports/vitest.config.ts
Lines 12 to 19 in 6421c27
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: