From 6616510ed38490baa451f51d84425199d8d661ff Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Mon, 2 Sep 2024 15:08:18 +0800 Subject: [PATCH] fix: remove patchFiles in language-tools test --- tests/language-tools.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tests/language-tools.ts b/tests/language-tools.ts index e1c46e9..0af1b99 100644 --- a/tests/language-tools.ts +++ b/tests/language-tools.ts @@ -10,16 +10,5 @@ export async function test(options: RunOptions) { beforeBuild: `pnpm dedupe --registry=${REGISTRY_ADDRESS}`, build: 'build', test: 'test', - patchFiles: { - 'packages/tsc/tests/index.spec.ts': (content) => { - if (!options.vueVersion.startsWith('3.4')) { - return content - } - return content.replace( - 'for (const file of files) {', - "for (const file of files) { if (file.includes('vue3.5')) continue;", - ) - }, - }, }) }