mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-10-23 03:28:06 +09:00
26 lines
595 B
JavaScript
26 lines
595 B
JavaScript
import vue from '@vitejs/plugin-vue'
|
|
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
resolve: {
|
|
alias: {
|
|
vue: 'vue/dist/vue.esm-bundler.js',
|
|
},
|
|
},
|
|
test: {
|
|
coverage: {
|
|
provider: 'v8',
|
|
reportOnFailure: true, ///< Preserve CI coverage artifacts after test failures.
|
|
reporter: ['text', 'json', 'lcov'],
|
|
reportsDirectory: 'coverage',
|
|
},
|
|
environment: 'jsdom',
|
|
include: ['tests/web/**/*.test.js'],
|
|
outputFile: {
|
|
junit: 'junit.xml',
|
|
},
|
|
reporters: ['default', 'junit'],
|
|
},
|
|
})
|