{"_id":"@brittlehq/jest-reporter","_rev":"3-82d15600fbd5c764a508bd6e29e807e7","name":"@brittlehq/jest-reporter","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@brittlehq/jest-reporter","version":"0.1.0","keywords":["brittle","jest","reporter","test","testing","ci"],"license":"Apache-2.0","_id":"@brittlehq/jest-reporter@0.1.0","maintainers":[{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"}],"homepage":"https://brittle.dev","bugs":{"url":"https://github.com/brittlehq/brittle/issues"},"dist":{"shasum":"573e9f37c4d6a613faf19a9348c004ba8f722589","tarball":"https://registry.npmjs.org/@brittlehq/jest-reporter/-/jest-reporter-0.1.0.tgz","fileCount":16,"integrity":"sha512-09LVKO6COIsM2sWeyhpCl4CG0OGXx76qS9ivEApWfyvv7SqgQz5HhCyvWVfgCYRRjD1LUEOTS6mlScls6R4YVA==","signatures":[{"sig":"MEYCIQDLZ5SGBbwUPyWeQV6fOR6lLUm14tedozhIPgwAJErpaQIhAMZ/svAQCLYHR9ElGozJfpsxxxg0OggSnMP/fvFum/Sk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46696},"main":"./dist/index.js","type":"module","_from":"file:brittlehq-jest-reporter-0.1.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/cjs/index.js"}},"scripts":{"build":"tsc -b && tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json","clean":"rm -rf dist .tsbuild*","typecheck":"tsc -b"},"_npmUser":{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"},"_resolved":"/private/var/folders/7d/35flldkd1m12mzfw9r8wjht00000gn/T/7083c8ac4ecc13b0061d6b0d5f31f0d3/brittlehq-jest-reporter-0.1.0.tgz","_integrity":"sha512-09LVKO6COIsM2sWeyhpCl4CG0OGXx76qS9ivEApWfyvv7SqgQz5HhCyvWVfgCYRRjD1LUEOTS6mlScls6R4YVA==","repository":{"url":"git+https://github.com/brittlehq/brittle.git","type":"git","directory":"packages/jest-reporter"},"_npmVersion":"10.8.2","description":"Brittle reporter for Jest — streams test results to the Brittle Hub as each file completes","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@brittlehq/shared":"0.1.0","@brittlehq/reporter-core":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","@jest/types":"^29.6.3","@jest/reporters":"^29.7.0","@jest/test-result":"^29.7.0"},"peerDependencies":{"jest":">=29.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jest-reporter_0.1.0_1779525587543_0.8210323125577002","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@brittlehq/jest-reporter","version":"0.1.1","keywords":["brittle","jest","reporter","test","testing","ci"],"license":"Apache-2.0","_id":"@brittlehq/jest-reporter@0.1.1","maintainers":[{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"}],"homepage":"https://brittle.dev","bugs":{"url":"https://github.com/brittlehq/brittle/issues"},"dist":{"shasum":"f3fcfb325ec824fa3f7c8937f443b6eaa45024f5","tarball":"https://registry.npmjs.org/@brittlehq/jest-reporter/-/jest-reporter-0.1.1.tgz","fileCount":16,"integrity":"sha512-XtzogM2bntoQMjUAyybEjxwOhyusqTJMNgV77t45o50r+GKenYe5dxHxLUPktUqOEf0WOojb9DntnnF266gMhA==","signatures":[{"sig":"MEQCIB7HyVA4lOEtbfco6nzvOFEXhL1kiaku6M44/9rw0K/pAiAVzRv4sNDPDw5V6ZHMKLrc4E+jFoJWBCH4lzLoPIYYeg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@brittlehq%2fjest-reporter@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":46986},"main":"./dist/index.js","type":"module","_from":"file:brittlehq-jest-reporter-0.1.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/cjs/index.js"}},"scripts":{"build":"tsc -b && tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json","clean":"rm -rf dist .tsbuild*","typecheck":"tsc -b"},"_npmUser":{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"},"_resolved":"/tmp/a1033864aa7eb694ed16ede627f3abc5/brittlehq-jest-reporter-0.1.1.tgz","_integrity":"sha512-XtzogM2bntoQMjUAyybEjxwOhyusqTJMNgV77t45o50r+GKenYe5dxHxLUPktUqOEf0WOojb9DntnnF266gMhA==","repository":{"url":"git+https://github.com/brittlehq/brittle.git","type":"git","directory":"packages/jest-reporter"},"_npmVersion":"10.8.2","description":"Brittle reporter for Jest — streams test results to the Brittle Hub as each file completes","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@brittlehq/shared":"0.2.0","@brittlehq/reporter-core":"0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","@jest/types":"^29.6.3","@jest/reporters":"^29.7.0","@jest/test-result":"^29.7.0"},"peerDependencies":{"jest":">=29.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jest-reporter_0.1.1_1779554814655_0.9846442413617689","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@brittlehq/jest-reporter","version":"0.1.2","description":"Brittle reporter for Jest — streams test results to the Brittle Hub as each file completes","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/cjs/index.js","import":"./dist/index.js","types":"./dist/index.d.ts"}},"dependencies":{"@brittlehq/reporter-core":"0.1.2","@brittlehq/shared":"0.2.0"},"peerDependencies":{"jest":">=29.0.0"},"devDependencies":{"@jest/reporters":"^29.7.0","@jest/test-result":"^29.7.0","@jest/types":"^29.6.3","jest":"^29.7.0"},"engines":{"node":">=20"},"license":"Apache-2.0","homepage":"https://brittle.dev","repository":{"type":"git","url":"git+https://github.com/brittlehq/brittle.git","directory":"packages/jest-reporter"},"bugs":{"url":"https://github.com/brittlehq/brittle/issues"},"publishConfig":{"access":"public"},"keywords":["brittle","jest","reporter","test","testing","ci"],"scripts":{"build":"tsc -b && tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json","typecheck":"tsc -b","clean":"rm -rf dist .tsbuild*"},"_id":"@brittlehq/jest-reporter@0.1.2","_integrity":"sha512-ndSBdL+PKRlu8UBChU7g2StyB6JyxrWo7x07MzUJpa9lV6ghRajVUhe9oeRH9gCGbidEEIUQa4p8hskk4EEJ6w==","_resolved":"/tmp/5de6711f846def5f06fd3c206ba56070/brittlehq-jest-reporter-0.1.2.tgz","_from":"file:brittlehq-jest-reporter-0.1.2.tgz","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-ndSBdL+PKRlu8UBChU7g2StyB6JyxrWo7x07MzUJpa9lV6ghRajVUhe9oeRH9gCGbidEEIUQa4p8hskk4EEJ6w==","shasum":"8061d33a8c77b59d242fefa06afdea3dfa3b2e5f","tarball":"https://registry.npmjs.org/@brittlehq/jest-reporter/-/jest-reporter-0.1.2.tgz","fileCount":16,"unpackedSize":46986,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@brittlehq%2fjest-reporter@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAmcRbaTmVZlnL9zx4zp1kcUTbXv4KSpssG6TjL/BKPzAiEAvXvaG9miT3P1hegA291xI3sYBQphCJxA65SkOShGIh8="}]},"_npmUser":{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"},"directories":{},"maintainers":[{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jest-reporter_0.1.2_1779558215550_0.0021449459016282812"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-23T08:39:47.389Z","modified":"2026-05-23T17:43:36.407Z","0.1.0":"2026-05-23T08:39:47.684Z","0.1.1":"2026-05-23T16:46:54.815Z","0.1.2":"2026-05-23T17:43:35.723Z"},"bugs":{"url":"https://github.com/brittlehq/brittle/issues"},"license":"Apache-2.0","homepage":"https://brittle.dev","keywords":["brittle","jest","reporter","test","testing","ci"],"repository":{"type":"git","url":"git+https://github.com/brittlehq/brittle.git","directory":"packages/jest-reporter"},"description":"Brittle reporter for Jest — streams test results to the Brittle Hub as each file completes","maintainers":[{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"}],"readme":"# @brittlehq/jest-reporter\n\nStream Jest test results to [Brittle](https://brittle.dev) — failure triage,\nAI-grouped errors, flake history — without changing how your tests run.\n\n## Install\n\n```bash\npnpm add -D @brittlehq/jest-reporter\n# or: npm i -D @brittlehq/jest-reporter\n# or: yarn add -D @brittlehq/jest-reporter\n```\n\n## Configure\n\nAdd the reporter to `jest.config.js` (or `jest.config.ts`):\n\n```js\nmodule.exports = {\n  reporters: [\n    'default',\n    [\n      '@brittlehq/jest-reporter',\n      {\n        url: process.env.BRITTLE_URL,\n        token: process.env.BRITTLE_TOKEN,\n      },\n    ],\n  ],\n};\n```\n\nSet the env vars in your shell or CI:\n\n```bash\nexport BRITTLE_URL=https://brittle.dev          # or your self-hosted hub\nexport BRITTLE_TOKEN=brt_svc_xxxxxxxxxxxxxxxx   # mint at Project → Settings → Tokens\n```\n\n## All options\n\n```ts\n{\n  url?: string;              // defaults to process.env.BRITTLE_URL\n  token?: string;            // defaults to process.env.BRITTLE_TOKEN\n  runName?: string;          // groups parallel workers into one Run row\n  target?: string;           // 'prod' / 'staging' / app version label\n  tags?: string[];           // e.g. ['unit', 'nightly']\n  // Explicit git overrides\n  branch?: string;\n  commitSha?: string;\n  commitMessage?: string;\n  prUrl?: string;\n}\n```\n\nGit context (branch, commit, PR) is auto-detected from the working tree.\n\n## Run\n\n```bash\npnpm exec jest\n```\n\nThe reporter streams one batch per spec file as each completes, so the\ndashboard fills in progressively — you don't have to wait for the whole\nsuite to finish.\n\n## Debug logging\n\nThe reporter is quiet by default — only warnings print to stderr. To see verbose debug output (per-test events, retry attempts, individual API calls), set:\n\n```bash\nexport BRITTLE_DEBUG=1\n```\n\nUseful when triaging \"test ran but didn't show up in the dashboard\" issues.\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md"}