chore: scaffold tsup, biome, vitest, deps
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
import { defineConfig } from 'vitest/config'
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
projects: [
|
||||
{
|
||||
test: {
|
||||
name: 'unit',
|
||||
include: ['test/unit/**/*.test.ts']
|
||||
}
|
||||
},
|
||||
{
|
||||
test: {
|
||||
name: 'integration',
|
||||
include: ['test/integration/**/*.test.ts'],
|
||||
testTimeout: 120_000,
|
||||
hookTimeout: 240_000
|
||||
}
|
||||
}
|
||||
],
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
include: ['src/**'],
|
||||
exclude: ['src/index.ts'],
|
||||
thresholds: {
|
||||
lines: 90,
|
||||
functions: 90
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user