{"_id":"@calimatic-testops/jest-reporter","_rev":"3-b672440715cda42ee867bcd65ffa3d9f","name":"@calimatic-testops/jest-reporter","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"@calimatic-testops/jest-reporter","version":"0.1.0","keywords":["jest","reporter","testops","calimatic","test-results"],"license":"MIT","_id":"@calimatic-testops/jest-reporter@0.1.0","maintainers":[{"name":"venucalimatic","email":"venuyarra@gmail.com"}],"dist":{"shasum":"dedd793c2b68fd82ba900bcff8b78fbbea4748f2","tarball":"https://registry.npmjs.org/@calimatic-testops/jest-reporter/-/jest-reporter-0.1.0.tgz","fileCount":5,"integrity":"sha512-YtYm8McBi/wQsl9172u3NwbfShbZYp80dwUATCmX3/axtn9PLQXpUHtXZ4658ZmX077Gmg38XKY7kL8haaGt7Q==","signatures":[{"sig":"MEYCIQDsPXFPbE12oDKSOmqmzXQO27dI8D50Al14OTTE4qa0DgIhAJswyaKjVusAwymi3qSbPYvmY5kd0ymgCI+uxIgeVVBR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9490},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"9c9a19d4ef6555a3c1fe284e047c76c2b4fc54a9","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"venucalimatic","email":"venuyarra@gmail.com"},"_npmVersion":"10.8.2","description":"Jest reporter that streams test results to Calimatic TestOps","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@calimatic-testops/reporter-core":"^0.2.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0"},"peerDependencies":{"jest":">=27.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jest-reporter_0.1.0_1781662619823_0.6907880546842766","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@calimatic-testops/jest-reporter","version":"0.2.0","keywords":["jest","reporter","testops","calimatic","test-results"],"license":"MIT","_id":"@calimatic-testops/jest-reporter@0.2.0","maintainers":[{"name":"venucalimatic","email":"venuyarra@gmail.com"}],"dist":{"shasum":"a482621a53d1409386adf78e1fd7a91ca3bc1119","tarball":"https://registry.npmjs.org/@calimatic-testops/jest-reporter/-/jest-reporter-0.2.0.tgz","fileCount":10,"integrity":"sha512-hD0PoBw95qQHf6nmomoxPXRM51a64wIu5tSRGWfRATUxw1+rO19EZ2QsQxbhH7y7upL4p/dMvE7fS/b5HEK6mA==","signatures":[{"sig":"MEYCIQDAE9kObbNILoWdpcSasxpmDPuczmlKetnMV6dabNxa0gIhAIrvsixeLX94lWvcv//v5wtLmwFmGF8UPRbjwgUnNIt1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19088},"main":"dist/cjs/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/cjs/index.js","require":"./dist/cjs/index.js"}},"gitHead":"d64d034e99b24cfc567ddc2f7179b25500e52853","scripts":{"build":"tsc && tsc -p tsconfig.cjs.json && cp cjs-package.json dist/cjs/package.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"venucalimatic","email":"venuyarra@gmail.com"},"_npmVersion":"10.8.2","description":"Jest reporter that streams test results to Calimatic TestOps","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@calimatic-testops/reporter-core":"^0.3.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0"},"peerDependencies":{"jest":">=27.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jest-reporter_0.2.0_1781699228267_0.04884620492488634","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@calimatic-testops/jest-reporter","version":"0.3.0","description":"Jest reporter that streams test results to Calimatic TestOps","type":"module","main":"dist/cjs/index.js","module":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/cjs/index.js","default":"./dist/cjs/index.js","types":"./dist/index.d.ts"}},"scripts":{"build":"tsc && tsc -p tsconfig.cjs.json && cp cjs-package.json dist/cjs/package.json","prepublishOnly":"npm run build"},"engines":{"node":">=18"},"peerDependencies":{"jest":">=27.0.0"},"dependencies":{"@calimatic-testops/reporter-core":"^0.3.1"},"devDependencies":{"typescript":"^5.0.0"},"keywords":["jest","reporter","testops","calimatic","test-results"],"license":"MIT","_id":"@calimatic-testops/jest-reporter@0.3.0","gitHead":"3654b5c82e31979413f14caaccbe33d29c7722d4","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-drNMf6VsgcvYL7HizD6P/TG9wSi4N+L0I5lNSS3DOjY1jSzcgqTlIy7VCS5wahjj44Bxrmk824QfbaHBSJzk3Q==","shasum":"7900a87e7e2844d990769f54976425c06eb96544","tarball":"https://registry.npmjs.org/@calimatic-testops/jest-reporter/-/jest-reporter-0.3.0.tgz","fileCount":11,"unpackedSize":23164,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHC5CQDW3bOjnbgtGBNaGyjiP0T2s4HRzWAw1LScd5XqAiEAmTqp3BKxflkN2M+eznz/X1vaEQ85OQWF5bSudPv7fMs="}]},"_npmUser":{"name":"venucalimatic","email":"venuyarra@gmail.com"},"directories":{},"maintainers":[{"name":"venucalimatic","email":"venuyarra@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jest-reporter_0.3.0_1781965894062_0.0663526636226992"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-17T02:16:59.677Z","modified":"2026-06-20T14:31:34.349Z","0.1.0":"2026-06-17T02:16:59.964Z","0.2.0":"2026-06-17T12:27:08.388Z","0.3.0":"2026-06-20T14:31:34.227Z"},"license":"MIT","keywords":["jest","reporter","testops","calimatic","test-results"],"description":"Jest reporter that streams test results to Calimatic TestOps","maintainers":[{"name":"venucalimatic","email":"venuyarra@gmail.com"}],"readme":"# @calimatic-testops/jest-reporter\n\nJest custom reporter that streams test results to [Calimatic TestOps](https://testops.calimatic.com).\n\n## Install\n\n```bash\nnpm install --save-dev @calimatic-testops/jest-reporter\n```\n\n## Quick Start\n\nAdd the reporter to your `jest.config.js`:\n\n```js\nmodule.exports = {\n  reporters: [\n    'default',\n    ['@calimatic-testops/jest-reporter', {\n      launchName: 'Unit Tests',\n      layers: ['unit'],\n    }],\n  ],\n};\n```\n\nSet the required environment variables in your CI:\n\n```\nTESTOPS_URL=https://testops.calimatic.com\nTESTOPS_TOKEN=ttok_your_token_here\nTESTOPS_PROJECT=your-project-slug\n```\n\nThe reporter silently disables itself when these are missing, so local runs are unaffected.\n\n## Options\n\n| Option       | Type     | Default          | Description                                     |\n| ------------ | -------- | ---------------- | ----------------------------------------------- |\n| `url`        | string   | `TESTOPS_URL`    | TestOps server URL                              |\n| `token`      | string   | `TESTOPS_TOKEN`  | API token                                       |\n| `project`    | string   | `TESTOPS_PROJECT`| Project slug                                    |\n| `layers`     | string[] | `TESTOPS_LAYERS` | Test layers shown in dashboard (e.g. `['unit']`)|\n| `source`     | string   | `\"jest-reporter\"`| Source identifier                                |\n| `launchName` | string   | `\"Jest Run\"`     | Name shown in dashboard                         |\n| `attributes` | object   | —                | Extra metadata attached to the launch            |\n| `flushSize`  | number   | `100`            | Batch size for result uploads                    |\n| `silent`     | boolean  | `true`           | Silently disable when config is missing          |\n\n## Setting Test Layers\n\nThe `layers` option controls what appears in the **Layers** column on the TestOps dashboard. Set it to match the type of tests the configuration runs:\n\n```js\n// jest.config.unit.js\nreporters: [\n  'default',\n  ['@calimatic-testops/jest-reporter', { layers: ['unit'] }],\n]\n\n// jest.config.integration.js\nreporters: [\n  'default',\n  ['@calimatic-testops/jest-reporter', { layers: ['integration'] }],\n]\n```\n\nYou can also set layers via the `TESTOPS_LAYERS` environment variable (comma-separated):\n\n```\nTESTOPS_LAYERS=unit,integration\n```\n\n## Environment Variables\n\n| Variable                 | Description                                              |\n| ------------------------ | -------------------------------------------------------- |\n| `TESTOPS_URL`            | TestOps server URL (required)                            |\n| `TESTOPS_TOKEN`          | API token from Settings > CLI Tokens (required)          |\n| `TESTOPS_PROJECT`        | Project slug (required)                                  |\n| `TESTOPS_LAYERS`         | Comma-separated test layers, e.g. `\"unit,integration\"`   |\n| `TESTOPS_SOURCE`         | Source identifier override                               |\n| `TESTOPS_ENVIRONMENT`    | Environment name (e.g. `\"staging\"`, `\"ci\"`)              |\n| `TESTOPS_CORRELATION_ID` | Group multiple suites under one logical run               |\n\n## How It Works\n\n- **Non-fatal**: Reporter errors never break your test run. Tests always pass or fail on their own merits.\n- **Parallel-safe**: Works correctly with Jest's `--maxWorkers` parallel execution.\n- **Buffered uploads**: Results are batched and sent efficiently.\n- **CI auto-detection**: Git branch, commit, PR number, and CI run URL are automatically detected from GitHub Actions, GitLab CI, CircleCI, and other providers.\n\n## License\n\nPrivate — Calimatic Technologies\n","readmeFilename":"README.md"}