From 6f921430399002ab8d8256aa216dde87850ddccd Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 1 Dec 2023 11:16:15 +0800 Subject: [PATCH] add more excluded globals for nuxt --- tests/nuxt.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/nuxt.ts b/tests/nuxt.ts index b7166ec..4bbe597 100644 --- a/tests/nuxt.ts +++ b/tests/nuxt.ts @@ -19,7 +19,10 @@ export async function test(options: RunOptions) { const file = fs.readFileSync(filePath, 'utf-8') fs.writeFileSync( filePath, - file.replace("'compile'", "'compile', 'ErrorTypeStrings'"), + file.replace( + "'compile'", + "'compile', 'ErrorTypeStrings', 'DeprecationTypes', 'ErrorCodes', 'TrackOpTypes', 'TriggerOpTypes'", + ), ) }, ],