mirror of
https://github.com/samiyev/puaros.git
synced 2025-12-27 23:06:54 +05:00
Add file editing capabilities: - EditLinesTool: replace lines with hash conflict detection - CreateFileTool: create files with directory auto-creation - DeleteFileTool: delete files from filesystem and storage Total: 664 tests, 97.77% coverage
22 lines
592 B
TypeScript
22 lines
592 B
TypeScript
import { defineConfig } from "vitest/config"
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: "node",
|
|
include: ["tests/**/*.test.ts"],
|
|
coverage: {
|
|
provider: "v8",
|
|
reporter: ["text", "html", "lcov"],
|
|
include: ["src/**/*.ts", "src/**/*.tsx"],
|
|
exclude: ["src/**/*.d.ts", "src/**/index.ts", "src/**/*.test.ts"],
|
|
thresholds: {
|
|
lines: 95,
|
|
functions: 95,
|
|
branches: 90,
|
|
statements: 95,
|
|
},
|
|
},
|
|
},
|
|
})
|