Add vitest test infrastructure for the package

This commit is contained in:
EislM0203 committed 2026-05-14 13:10:52 +02:00
1 parent f3a8b5a18f
commit 336285eaa2
3 files changed
+4633

No files matched your search

+4620
View File
File diff suppressed because it is too large. Load diff
+6
View File
@@ -8,11 +8,17 @@
"extensions": ["./extensions"],
"prompts": ["./prompts"]
},
"scripts": {
"test": "vitest --run"
},
"peerDependencies": {
"@earendil-works/pi-ai": "*",
"@earendil-works/pi-agent-core": "*",
"@earendil-works/pi-coding-agent": "*",
"@earendil-works/pi-tui": "*",
"typebox": "*"
},
"devDependencies": {
"vitest": "^3.2.4"
}
}
+7
View File
@@ -0,0 +1,7 @@
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
include: ["extensions/**/*.test.ts"],
},
});