--------- Co-authored-by: nyueki <nyuek.i@proton.me> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Neko Ayaka <neko@ayaka.moe> Co-authored-by-agent: Unknown
29 lines
500 B
TypeScript
29 lines
500 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: 'node',
|
|
fileParallelism: false,
|
|
globals: true,
|
|
hookTimeout: 60_000,
|
|
maxWorkers: 1,
|
|
coverage: {
|
|
provider: 'v8',
|
|
include: [
|
|
'src/**/*.ts',
|
|
],
|
|
reporter: [
|
|
'text',
|
|
'json',
|
|
'html',
|
|
],
|
|
thresholds: {
|
|
lines: 100,
|
|
functions: 100,
|
|
branches: 100,
|
|
statements: 100,
|
|
},
|
|
},
|
|
},
|
|
})
|