Skip to content

Commit e406c4a

Browse files
committed
fix: update test
1 parent 9bcb7e7 commit e406c4a

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

playground/vue-jsx/TsImport.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</template>
77

88
<script setup lang="tsx">
9-
import { foo } from './TsImportFile'
9+
import { foo } from './TsImportFile.js'
1010
1111
const Bar = () => (
1212
<div class="bar">

vitest.config.e2e.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,15 @@ export default defineConfig({
1414
},
1515
},
1616
test: {
17-
include: ['./playground/vue/**/*.spec.[tj]s'],
17+
include: ['./playground/ssr-vue/**/*.spec.[tj]s'],
18+
exclude: [
19+
// skip link vite tets at local, it will panic at v8.
20+
'**/node_modules/**',
21+
// need to system format
22+
'./playground/vue-legacy/**/*.spec.[tj]s' ,
23+
// need to umd format
24+
'./playground/vue-lib/**/*.spec.[tj]s',
25+
],
1826
setupFiles: ['./playground/vitestSetup.ts'],
1927
globalSetup: ['./playground/vitestGlobalSetup.ts'],
2028
testTimeout: timeout,

0 commit comments

Comments
 (0)