Skip to content

Commit

Permalink
fix: remove patchFiles in language-tools test
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Sep 2, 2024
1 parent 927aff5 commit 6616510
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/language-tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;",
)
},
},
})
}

0 comments on commit 6616510

Please sign in to comment.