From 8ebaa91f4d0a0b2e18ccde7052524d7a483c3b2a Mon Sep 17 00:00:00 2001 From: ouyangxq <775153912@qq.com> Date: Thu, 30 Jul 2026 21:57:56 +0800 Subject: [PATCH] test: read vendored shared source in container build --- src/api/parseJson.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/parseJson.test.mjs b/src/api/parseJson.test.mjs index 863d5d5..c58efb4 100644 --- a/src/api/parseJson.test.mjs +++ b/src/api/parseJson.test.mjs @@ -3,7 +3,7 @@ import { readFile } from 'node:fs/promises' import test from 'node:test' import ts from 'typescript' -const source = await readFile(new URL('../../../../packages/shared/src/index.ts', import.meta.url), 'utf8') +const source = await readFile(new URL('../../shared/src/index.ts', import.meta.url), 'utf8') const compiled = ts.transpileModule(source, { compilerOptions: { module: ts.ModuleKind.ESNext, target: ts.ScriptTarget.ES2022 }, }).outputText