feat: Archipelago demo stack (lightweight)
This commit is contained in:
35
neode-ui/vitest.config.ts
Normal file
35
neode-ui/vitest.config.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
import { defineConfig } from 'vitest/config'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import path from 'path'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, './src')
|
||||
}
|
||||
},
|
||||
test: {
|
||||
environment: 'jsdom',
|
||||
globals: true,
|
||||
root: '.',
|
||||
passWithNoTests: true,
|
||||
exclude: ['e2e/**', 'node_modules/**'],
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
reporter: ['text', 'text-summary'],
|
||||
include: [
|
||||
'src/api/*.ts',
|
||||
'src/stores/*.ts',
|
||||
'src/composables/*.ts',
|
||||
'src/utils/*.ts',
|
||||
'src/services/*.ts',
|
||||
'src/router/*.ts',
|
||||
],
|
||||
exclude: ['src/**/__tests__/**', 'src/**/*.d.ts', 'src/main.ts'],
|
||||
thresholds: {
|
||||
branches: 80,
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user