diff --git a/packages/vitest/src/runtime/vm.ts b/packages/vitest/src/runtime/vm.ts index 829ba132c2c3..0fddbd31ecf5 100644 --- a/packages/vitest/src/runtime/vm.ts +++ b/packages/vitest/src/runtime/vm.ts @@ -81,7 +81,7 @@ export async function run(ctx: WorkerContext) { } ctx.files.forEach(i => moduleCache.delete(i)) - const executor = await startVitestExecutor(ctx, { + const executor = await startVitestExecutor({ context, moduleCache, mockMap,