mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 13:48:02 +00:00
feat: 增加单元测试
This commit is contained in:
parent
e6b1b91c01
commit
0c89b4aa53
9 changed files with 777 additions and 90 deletions
|
|
@ -1,3 +1,4 @@
|
|||
/// <reference types="vitest" />
|
||||
import react from '@vitejs/plugin-react'
|
||||
import dotenv from 'dotenv'
|
||||
import path, { join } from 'path'
|
||||
|
|
@ -79,4 +80,7 @@ export default defineConfig({
|
|||
},
|
||||
},
|
||||
},
|
||||
test: {
|
||||
environment: 'jsdom',
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue