mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
485 B
TypeScript
22 lines
485 B
TypeScript
2 years ago
|
import {defineConfig} from 'vitest/config';
|
||
|
import vuePlugin from '@vitejs/plugin-vue';
|
||
2 years ago
|
import {stringPlugin} from 'vite-string-plugin';
|
||
2 years ago
|
|
||
|
export default defineConfig({
|
||
|
test: {
|
||
|
include: ['web_src/**/*.test.js'],
|
||
12 months ago
|
setupFiles: ['web_src/js/vitest.setup.js'],
|
||
11 months ago
|
environment: 'happy-dom',
|
||
2 years ago
|
testTimeout: 20000,
|
||
|
open: false,
|
||
|
allowOnly: true,
|
||
|
passWithNoTests: true,
|
||
1 year ago
|
globals: true,
|
||
2 years ago
|
watch: false,
|
||
|
},
|
||
|
plugins: [
|
||
|
stringPlugin(),
|
||
2 years ago
|
vuePlugin(),
|
||
2 years ago
|
],
|
||
|
});
|