test: add more test for rich content

This commit is contained in:
Anthony Fu 2022-11-25 16:56:14 +08:00
parent 727bef6066
commit ff81389404
5 changed files with 165 additions and 9 deletions

View file

@ -1,6 +1,7 @@
import { resolve } from 'path'
import { defineConfig } from 'vitest/config'
import Vue from '@vitejs/plugin-vue'
import AutoImport from 'unplugin-auto-import/vite'
export default defineConfig({
resolve: {
@ -10,5 +11,15 @@ export default defineConfig({
},
plugins: [
Vue(),
AutoImport({
dts: false,
imports: [
'vue',
'@vueuse/core',
],
dirs: [
'composables',
],
}),
],
})