@agent-inspect/jest 3.5.0 → 3.5.2

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.
Files changed (2) hide show
  1. package/README.md +60 -0
  2. package/package.json +4 -3
package/README.md ADDED
@@ -0,0 +1,60 @@
1
+ # @agent-inspect/jest
2
+
3
+ Jest reporter — local trace artifacts on failed tests.
4
+
5
+ ## When to use
6
+
7
+ - Jest test suites with AgentInspect-instrumented agents
8
+ - CI failure evidence alongside native Jest output
9
+
10
+ ## When not to use
11
+
12
+ - Vitest (use `@agent-inspect/vitest`)
13
+
14
+ ## Install
15
+
16
+ ```bash
17
+ npm install agent-inspect @agent-inspect/jest jest
18
+ ```
19
+
20
+ **Peer:** `jest@^29.0.0 || ^30.0.0` (optional meta)
21
+
22
+ ## Example
23
+
24
+ ```js
25
+ // jest.config.js
26
+ module.exports = {
27
+ reporters: [
28
+ "default",
29
+ ["@agent-inspect/jest", { traceDir: ".agent-inspect" }],
30
+ ],
31
+ };
32
+ ```
33
+
34
+ ## Privacy
35
+
36
+ - Local files on failure; no network from AgentInspect
37
+
38
+ ## API
39
+
40
+ Jest reporter class / factory (see package types).
41
+
42
+ ## CLI
43
+
44
+ `npx agent-inspect report` on uploaded CI artifacts
45
+
46
+ ## Docs
47
+
48
+ - [CI artifacts](https://github.com/rajudandigam/agent-inspect/blob/main/docs/CI-ARTIFACTS.md)
49
+
50
+ ## Troubleshooting
51
+
52
+ - **Reporter not loaded:** Check Jest `reporters` array syntax for your Jest version
53
+
54
+ ## Version
55
+
56
+ `agent-inspect@3.5.x`
57
+
58
+ ## License
59
+
60
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-inspect/jest",
3
- "version": "3.5.0",
3
+ "version": "3.5.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Optional Jest reporter for AgentInspect local trace artifacts",
@@ -12,7 +12,7 @@
12
12
  "bugs": {
13
13
  "url": "https://github.com/rajudandigam/agent-inspect/issues"
14
14
  },
15
- "homepage": "https://github.com/rajudandigam/agent-inspect#readme",
15
+ "homepage": "https://github.com/rajudandigam/agent-inspect/tree/main/packages/jest",
16
16
  "sideEffects": false,
17
17
  "main": "./dist/index.cjs",
18
18
  "module": "./dist/index.mjs",
@@ -30,6 +30,7 @@
30
30
  }
31
31
  },
32
32
  "files": [
33
+ "README.md",
33
34
  "dist"
34
35
  ],
35
36
  "peerDependencies": {
@@ -41,7 +42,7 @@
41
42
  }
42
43
  },
43
44
  "dependencies": {
44
- "agent-inspect": "3.5.0"
45
+ "agent-inspect": "3.5.2"
45
46
  },
46
47
  "devDependencies": {
47
48
  "jest": "^30.2.0"