@backendkit-labs/agent-testkit 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,6 +6,8 @@ Test doubles for agents built on `@backendkit-labs/agent-core`. Install it as a
|
|
|
6
6
|
npm i -D @backendkit-labs/agent-testkit
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
+
In a project made with `create-bk-agent`, `npx create-bk-agent add testing` installs it together with jest and drops in an example test.
|
|
10
|
+
|
|
9
11
|
It does not depend on a test runner: assertions throw plain `Error`s, so it works with jest, vitest or `node:test`.
|
|
10
12
|
|
|
11
13
|
## What is in it
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backendkit-labs/agent-testkit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Test doubles for @backendkit-labs/agent-core agents: scripted providers, a mock OpenAI-compatible LLM server with injectable failures, a mock transport and assertions about the real world",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"test": "jest"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@backendkit-labs/agent-core": ">=0.29.0 <0.
|
|
25
|
+
"@backendkit-labs/agent-core": ">=0.29.0 <0.31.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@backendkit-labs/agent-providers": "^0.2.3",
|