test: make context-manager test script match test layout
This commit is contained in:
@@ -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": {
|
||||||
|
|||||||
@@ -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"], "*");
|
||||||
|
|||||||
Reference in New Issue
Block a user