Files
eleith 3dbf10c5d9
ci/woodpecker/pr/cli Pipeline was successful
ci/woodpecker/pr/core Pipeline was successful
ci/woodpecker/pr/lsp Pipeline was successful
ci/woodpecker/pr/web-config Pipeline was successful
ci/woodpecker/pr/web-db Pipeline was successful
ci/woodpecker/pr/web-jobs Pipeline was successful
ci/woodpecker/pr/web-lsp Pipeline was successful
ci/woodpecker/pr/web-pieces Pipeline was successful
ci/woodpecker/pr/web-theme Pipeline was successful
ci/woodpecker/pr/web-worker Pipeline was successful
ci/woodpecker/pr/web Pipeline was successful
[web] prepare shared toolchain for SvelteKit 3
2026-10-30 18:10:37 -07:00

38 lines
903 B
TypeScript

import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
exclude: ['generated/**', 'dist/**', 'build/**', 'node_modules/**'],
coverage: {
include: ['src/**/*.{js,ts}'],
thresholds: {
lines: 92,
branches: 92,
statements: 92,
functions: 92,
},
exclude: [
'eslint.config.js',
'src/database/migrations/**',
'generated/**',
'dist/**',
'build/**',
'node_modules/**',
'**/*{.,-}fixtures.{js,cjs,mjs,ts,tsx,jsx}',
'coverage/**',
'packages/*/test{,s}/**',
'**/*.d.ts',
'**/*.mock.ts',
'**/*.schema.ts',
'cypress/**',
'test{,s}/**',
'test{,-*}.{js,cjs,mjs,ts,tsx,jsx}',
'**/*{.,-}test.{js,cjs,mjs,ts,tsx,jsx}',
'**/__tests__/**',
'**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc}.config.{js,cjs,mjs,ts}',
'**/.{eslint,mocha,prettier}rc.{js,cjs,yml}',
],
},
},
})