From 0274cfa26d066c5e1cbd34a3cc381a791694ba49 Mon Sep 17 00:00:00 2001 From: sapphi-red <49056869+sapphi-red@users.noreply.github.com> Date: Wed, 13 Nov 2024 15:01:20 +0900 Subject: [PATCH] chore: skip error message test --- packages/vite/src/node/ssr/__tests__/ssrLoadModule.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/vite/src/node/ssr/__tests__/ssrLoadModule.spec.ts b/packages/vite/src/node/ssr/__tests__/ssrLoadModule.spec.ts index 4479d20be233c5..8caaaacd87c1c6 100644 --- a/packages/vite/src/node/ssr/__tests__/ssrLoadModule.spec.ts +++ b/packages/vite/src/node/ssr/__tests__/ssrLoadModule.spec.ts @@ -180,7 +180,9 @@ test('can access nodejs global', async () => { expect(mod.default).toBe(globalThis) }) -test('parse error', async () => { +// skip for now as oxc returns different error message from esbuild +// related: https://github.com/oxc-project/oxc/issues/7261 +test.skip('parse error', async () => { const server = await createDevServer() function stripRoot(s?: string) {