From 2285bcd55da72c68a5ac8730bfa0ba710b00663f Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Sat, 22 Jun 2024 00:50:10 +0200 Subject: [PATCH] test: fix ct-vue-vite tests (#31406) --- tests/components/ct-vue-vite/package.json | 4 ++-- tests/components/ct-vue-vite/tsconfig.json | 10 ++-------- tests/components/ct-vue-vite/tsconfig.node.json | 2 +- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/tests/components/ct-vue-vite/package.json b/tests/components/ct-vue-vite/package.json index 64f695ac7c..608a128763 100644 --- a/tests/components/ct-vue-vite/package.json +++ b/tests/components/ct-vue-vite/package.json @@ -13,8 +13,8 @@ }, "devDependencies": { "@vitejs/plugin-vue": "^4.1.0", - "@vue/tsconfig": "^0.1.3", + "@vue/tsconfig": "^0.5.1", "vite": "^5.2.8", - "vue-tsc": "^1.0.0" + "vue-tsc": "^2.0.21" } } diff --git a/tests/components/ct-vue-vite/tsconfig.json b/tests/components/ct-vue-vite/tsconfig.json index cda3ce98be..b74b79834f 100644 --- a/tests/components/ct-vue-vite/tsconfig.json +++ b/tests/components/ct-vue-vite/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@vue/tsconfig/tsconfig.web.json", + "extends": "@vue/tsconfig/tsconfig.dom.json", "include": ["env.d.ts", "src/**/*", "src/**/*.vue", "tests/**/*", "playwright"], "compilerOptions": { "baseUrl": ".", @@ -8,11 +8,5 @@ "*": ["_"], }, "ignoreDeprecations": "5.0" - }, - - "references": [ - { - "path": "./tsconfig.node.json" - } - ] + } } diff --git a/tests/components/ct-vue-vite/tsconfig.node.json b/tests/components/ct-vue-vite/tsconfig.node.json index 7924803d11..43cc105313 100644 --- a/tests/components/ct-vue-vite/tsconfig.node.json +++ b/tests/components/ct-vue-vite/tsconfig.node.json @@ -1,5 +1,5 @@ { - "extends": "@vue/tsconfig/tsconfig.node.json", + "extends": "@vue/tsconfig/tsconfig.dom.json", "include": ["vite.config.*", "playwright.config.*"], "compilerOptions": { "composite": true,