UNPKG
dify-components
Version:
latest (1.0.0)
1.0.0
This is a modern component library template based on Turborepo+Vue 3.5+TypeScript.
dify-components
/
playground
/
vitest.workspace.ts
15 lines
(13 loc)
•
350 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
{ defineWorkspace }
from
'vitest/config'
;
/** *
@see
https://cn.vitest.dev/guide/ */
export
default
defineWorkspace
([ {
test
: {
name
:
'@difylib/utils'
,
// 测试名称
root
:
'./src/views/Utils/__test__'
,
// 测试根目录
include
: [
'array.spec.ts'
],
// 只测这个文件,测全部可以注释掉
}, }, ]);