From 8f82730b86abed953800ade6e726f70ee55ab7fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=A0=20/=20green?= Date: Tue, 1 Oct 2024 12:55:16 +0900 Subject: [PATCH] test: fix server-worker-runner flaky test (#18247) --- .../node/ssr/runtime/__tests__/server-worker-runner.spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/vite/src/node/ssr/runtime/__tests__/server-worker-runner.spec.ts b/packages/vite/src/node/ssr/runtime/__tests__/server-worker-runner.spec.ts index afdee8263cebcb..4cb52e87d817de 100644 --- a/packages/vite/src/node/ssr/runtime/__tests__/server-worker-runner.spec.ts +++ b/packages/vite/src/node/ssr/runtime/__tests__/server-worker-runner.spec.ts @@ -1,8 +1,7 @@ import { BroadcastChannel, Worker } from 'node:worker_threads' import { describe, expect, it, onTestFinished } from 'vitest' -import { DevEnvironment } from '../../../server/environment' +import { DevEnvironment, RemoteEnvironmentTransport } from '../../..' import { createServer } from '../../../server' -import { RemoteEnvironmentTransport } from '../../..' describe('running module runner inside a worker', () => { it('correctly runs ssr code', async () => {