diff --git a/packages/vitest/src/node/pools/vm-threads.ts b/packages/vitest/src/node/pools/vm-threads.ts index c3c5f6223a44..143d506bb425 100644 --- a/packages/vitest/src/node/pools/vm-threads.ts +++ b/packages/vitest/src/node/pools/vm-threads.ts @@ -120,9 +120,6 @@ export function createVmThreadsPool(ctx: Vitest, { execArgv, env, vmPath }: Pool } } - const Sequencer = ctx.config.sequence.sequencer - const sequencer = new Sequencer(ctx) - return async (specs, invalidates) => { const configs = new Map() const getConfig = (project: WorkspaceProject): ResolvedConfig => { @@ -134,13 +131,6 @@ export function createVmThreadsPool(ctx: Vitest, { execArgv, env, vmPath }: Pool return config } - const { shard } = ctx.config - - if (shard) - specs = await sequencer.shard(specs) - - specs = await sequencer.sort(specs) - const filesByEnv = await groupFilesByEnv(specs) const promises = Object.values(filesByEnv).flat() const results = await Promise.allSettled(promises