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

39 lines
946 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: [
'**/*.fixtures.ts',
'**/*.mock.ts',
'src/index.ts',
'src/version.ts',
'coverage/**',
'dist/**',
'**/node_modules/**',
'**/[.]**',
'packages/*/test?(s)/**',
'**/*.d.ts',
'**/virtual:*',
'**/__x00__*',
'cypress/**',
'test?(s)/**',
'test?(-*).?(c|m)[jt]s?(x)',
'**/*{.,-}{test,spec,bench,benchmark}?(-d).?(c|m)[jt]s?(x)',
'**/__tests__/**',
'**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*',
'**/vitest.{workspace,projects}.[jt]s?(on)',
'**/.{eslint,mocha,prettier}rc.{?(c|m)js,yml}',
],
},
},
})