mirror of
https://github.com/moeru-ai/airi.git
synced 2026-05-18 06:31:37 +00:00
25 lines
428 B
TypeScript
25 lines
428 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: 'node',
|
|
globals: true,
|
|
coverage: {
|
|
provider: 'v8',
|
|
include: [
|
|
'src/**/*.ts',
|
|
],
|
|
reporter: [
|
|
'text',
|
|
'json',
|
|
'html',
|
|
],
|
|
thresholds: {
|
|
lines: 100,
|
|
functions: 100,
|
|
branches: 100,
|
|
statements: 100,
|
|
},
|
|
},
|
|
},
|
|
})
|