test: make context-manager test script match test layout

This commit is contained in:
pi
2026-04-11 00:43:39 +01:00
parent 965d295a50
commit 7fa554bc59
2 changed files with 2 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
"type": "module", "type": "module",
"keywords": ["pi-package"], "keywords": ["pi-package"],
"scripts": { "scripts": {
"test": "tsx --test src/*.test.ts src/**/*.test.ts" "test": "tsx --test src/*.test.ts"
}, },
"files": ["index.ts", "src"], "files": ["index.ts", "src"],
"pi": { "pi": {

View File

@@ -15,6 +15,7 @@ test("package.json exposes pi-context-manager as a standalone pi package", () =>
assert.deepEqual(pkg.pi, { assert.deepEqual(pkg.pi, {
extensions: ["./index.ts"], extensions: ["./index.ts"],
}); });
assert.equal(pkg.scripts.test, "tsx --test src/*.test.ts");
assert.equal(pkg.peerDependencies["@mariozechner/pi-agent-core"], "*"); assert.equal(pkg.peerDependencies["@mariozechner/pi-agent-core"], "*");
assert.equal(pkg.peerDependencies["@mariozechner/pi-coding-agent"], "*"); assert.equal(pkg.peerDependencies["@mariozechner/pi-coding-agent"], "*");