Skip to content

Commit

Permalink
fix: vitest typings (element-plus#8239)
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz authored Jun 13, 2022
1 parent 002d251 commit bf02fdf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ssr-testing/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig } from 'vite'
import { defineConfig } from 'vitest/config'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
import DefineOptions from 'unplugin-vue-define-options/rollup'
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.vite-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "./tsconfig.node.json",
"compilerOptions": {
"composite": true,
"types": ["node", "vitest"]
"types": ["node"]
},
"include": ["**/vite.config.*", "**/vitest.config.*", "**/vite.init.*"],
"exclude": ["docs"]
Expand Down
2 changes: 1 addition & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig } from 'vite'
import { defineConfig } from 'vitest/config'
import Vue from '@vitejs/plugin-vue'
import VueJsx from '@vitejs/plugin-vue-jsx'
import DefineOptions from 'unplugin-vue-define-options/vite'
Expand Down

0 comments on commit bf02fdf

Please sign in to comment.