mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
add test for Location component
This commit is contained in:
+9
-3
@@ -6,17 +6,23 @@ import vue from '@vitejs/plugin-vue';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
define: {
|
||||
NIGHTLY: JSON.stringify(false),
|
||||
WINDOWS: JSON.stringify(true),
|
||||
LINUX: JSON.stringify(false)
|
||||
},
|
||||
test: {
|
||||
globals: true,
|
||||
environment: 'node',
|
||||
environment: 'jsdom',
|
||||
setupFiles: ['./vitest.setup.js'],
|
||||
include: ['src/**/*.{test,spec}.js'],
|
||||
coverage: {
|
||||
reporter: ['text', 'text-summary'],
|
||||
include: ['src/shared/utils/**/*.js'],
|
||||
include: ['src/shared/utils/**/*.js', 'src/components/**/*.vue'],
|
||||
exclude: [
|
||||
'src/shared/utils/**/*.test.js',
|
||||
'src/shared/utils/**/__tests__/**'
|
||||
'src/shared/utils/**/__tests__/**',
|
||||
'src/components/**/__tests__/**'
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user