{"_id":"@doiftrue/jest-simple-reporter","_rev":"6-1c72f53c42d3c09fba19f6b59e2b70e7","name":"@doiftrue/jest-simple-reporter","dist-tags":{"latest":"1.2.0"},"versions":{"0.0.1":{"name":"@doiftrue/jest-simple-reporter","version":"0.0.1","keywords":["jest","jest-reporter","reporter"],"author":{"name":"Timur Kamaev"},"license":"MIT","_id":"@doiftrue/jest-simple-reporter@0.0.1","maintainers":[{"name":"doiftrue","email":"tnkamaev@gmail.com"}],"homepage":"https://github.com/doiftrue/jest-simple-reporter#readme","bugs":{"url":"https://github.com/doiftrue/jest-simple-reporter/issues"},"dist":{"shasum":"0b199eb249a62d07bfb6cfc3de79af8ec78a6f46","tarball":"https://registry.npmjs.org/@doiftrue/jest-simple-reporter/-/jest-simple-reporter-0.0.1.tgz","fileCount":5,"integrity":"sha512-MwyKkh/1kM7/yx2LInJPW/e7fqiIEjsjuUWb++ETMZyTV3SvFVR5pcD4rJwqlud2HG+y2lw9HHhY//qKx5IVFA==","signatures":[{"sig":"MEYCIQD4Frh4dH1coY9eUJjkXkfihmpu4j0gDCECir+R3y9BnAIhAL7yrJExDTkYrT5Xdzp2rnvfvYZbYA8rGgynjL5OQZiL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11425},"main":"index.js","gitHead":"bb6bde9f75633a508a5a14dc7448ed508b3378e7","private":false,"scripts":{"test":"jest"},"_npmUser":{"name":"doiftrue","email":"tnkamaev@gmail.com"},"repository":{"url":"git+https://github.com/doiftrue/jest-simple-reporter.git","type":"git"},"_npmVersion":"10.9.0","description":"Simple Jest reporter in a text file","directories":{},"_nodeVersion":"23.1.0","dependencies":{"markdown-table":"^3.0.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","@jest/types":"^29.6.3","@jest/test-result":"^29.7.0"},"peerDependencies":{"jest":"*"},"_npmOperationalInternal":{"tmp":"tmp/jest-simple-reporter_0.0.1_1732506733328_0.008454321200828119","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@doiftrue/jest-simple-reporter","version":"1.0.0","keywords":["jest","jest-reporter","reporter"],"author":{"name":"Timur Kamaev"},"license":"MIT","_id":"@doiftrue/jest-simple-reporter@1.0.0","maintainers":[{"name":"doiftrue","email":"tnkamaev@gmail.com"}],"homepage":"https://github.com/doiftrue/jest-simple-reporter#readme","bugs":{"url":"https://github.com/doiftrue/jest-simple-reporter/issues"},"dist":{"shasum":"842a22a485aee865e867c88eac32c45163322331","tarball":"https://registry.npmjs.org/@doiftrue/jest-simple-reporter/-/jest-simple-reporter-1.0.0.tgz","fileCount":5,"integrity":"sha512-2wA/hmsk9rTLVM6fTd0kHHwhoZ34DnonKssY7+AKDjvajQ9uR08D9Rkm3IfkQipMlfsl6P3Txy85+Bp8Jzy6yA==","signatures":[{"sig":"MEUCIQCQZg2JoNSxsv+xGH6QbnqoaWehUVl6o87eIkiFEgIKAAIgOoH20FnX/eClYQGCBtCi/rKn+l8d7pk0M/+/HdKIQSs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11445},"main":"index.js","gitHead":"588b2c382a1d810d2520f48459a90f6ca76cc523","private":false,"scripts":{},"_npmUser":{"name":"doiftrue","email":"tnkamaev@gmail.com"},"repository":{"url":"git+https://github.com/doiftrue/jest-simple-reporter.git","type":"git"},"_npmVersion":"10.9.0","description":"Simple Jest reporter in a text file.","directories":{},"_nodeVersion":"23.1.0","dependencies":{"markdown-table":"^3.0.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","@jest/types":"^29.6.3","@jest/test-result":"^29.7.0"},"peerDependencies":{"jest":"*"},"_npmOperationalInternal":{"tmp":"tmp/jest-simple-reporter_1.0.0_1732507387395_0.738243174470282","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@doiftrue/jest-simple-reporter","version":"1.0.1","keywords":["jest","jest-reporter","reporter"],"author":{"name":"Timur Kamaev"},"license":"MIT","_id":"@doiftrue/jest-simple-reporter@1.0.1","maintainers":[{"name":"doiftrue","email":"tnkamaev@gmail.com"}],"homepage":"https://github.com/doiftrue/jest-simple-reporter#readme","bugs":{"url":"https://github.com/doiftrue/jest-simple-reporter/issues"},"dist":{"shasum":"df5734baafa70def9dc7f53100c78875b6bdacf3","tarball":"https://registry.npmjs.org/@doiftrue/jest-simple-reporter/-/jest-simple-reporter-1.0.1.tgz","fileCount":5,"integrity":"sha512-+zk2mf8qJv+F5TvJfFqh5n/E6tjVY+78AC3nOHAmabsVaKd/L7cr8bKj3RJPBNqIYIMDWiXfV1nXguTARrsLZw==","signatures":[{"sig":"MEUCIDZu+t08qQ5dF5Iv5KP/TnUzPFrf6a+ZiuUzaSkOgG6fAiEAtXklGSLytTP+aqBY+/cmfP9yI/399I2rH18+0Hk7TMQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@doiftrue%2fjest-simple-reporter@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11404},"main":"index.js","gitHead":"1e2f5de3bfa3dc2e5c7ca337e2cf9807630e69cf","private":false,"scripts":{},"_npmUser":{"name":"doiftrue","email":"tnkamaev@gmail.com"},"repository":{"url":"git+https://github.com/doiftrue/jest-simple-reporter.git","type":"git"},"_npmVersion":"10.9.0","description":"Simple Jest reporter in a text file.","directories":{},"_nodeVersion":"23.3.0","dependencies":{"markdown-table":"^3.0.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","@jest/types":"^29.6.3","@jest/test-result":"^29.7.0"},"_npmOperationalInternal":{"tmp":"tmp/jest-simple-reporter_1.0.1_1732509372421_0.4546663267325095","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@doiftrue/jest-simple-reporter","version":"1.1.0","keywords":["jest","jest-reporter","reporter"],"author":{"name":"Timur Kamaev"},"license":"MIT","_id":"@doiftrue/jest-simple-reporter@1.1.0","maintainers":[{"name":"doiftrue","email":"tnkamaev@gmail.com"}],"homepage":"https://github.com/doiftrue/jest-simple-reporter#readme","bugs":{"url":"https://github.com/doiftrue/jest-simple-reporter/issues"},"dist":{"shasum":"623e65796b05b153c95b4655bb75f52dc0498812","tarball":"https://registry.npmjs.org/@doiftrue/jest-simple-reporter/-/jest-simple-reporter-1.1.0.tgz","fileCount":6,"integrity":"sha512-kSyImHIVz91O09YCr0WmELwAUoXw8LnZd+miPvoNgqMg3lLpk8erBNmxaolbMZfZpQL/KTSDp0b2vKlkmm9W3w==","signatures":[{"sig":"MEUCIGXcA0L9buQZ4VwafagC0xkoZzj0M9xWjHCGSkTJr3qUAiEA4SsbsqYPJ6EpqaSq0vDqmMaWvO+remkshdhBeZGQ5m4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@doiftrue%2fjest-simple-reporter@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":12608},"main":"index.js","gitHead":"38f468b1bd2ac3c2da1683ee9f1978d44c7fcd46","private":false,"scripts":{},"_npmUser":{"name":"doiftrue","email":"tnkamaev@gmail.com"},"repository":{"url":"git+https://github.com/doiftrue/jest-simple-reporter.git","type":"git"},"_npmVersion":"10.9.0","description":"Simple Jest reporter in a text file.","directories":{},"_nodeVersion":"23.3.0","dependencies":{"markdown-table":"^3.0.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","@jest/types":"^29.6.3","@jest/test-result":"^29.7.0"},"_npmOperationalInternal":{"tmp":"tmp/jest-simple-reporter_1.1.0_1732574671385_0.5805797602525555","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@doiftrue/jest-simple-reporter","version":"1.1.1","keywords":["jest","jest-reporter","reporter"],"author":{"name":"Timur Kamaev"},"license":"MIT","_id":"@doiftrue/jest-simple-reporter@1.1.1","maintainers":[{"name":"doiftrue","email":"tnkamaev@gmail.com"}],"homepage":"https://github.com/doiftrue/jest-simple-reporter#readme","bugs":{"url":"https://github.com/doiftrue/jest-simple-reporter/issues"},"dist":{"shasum":"cdec9fea7e33dd6f446680231e14457d6c5f2938","tarball":"https://registry.npmjs.org/@doiftrue/jest-simple-reporter/-/jest-simple-reporter-1.1.1.tgz","fileCount":7,"integrity":"sha512-ap/L0yZoYI4/1R/33pYEs1wjhjptA8F9ClQj2q3Nvvt5TbsxaipYhbw1o8O3ero/emMGzWo+tQfngIkoTdHjhg==","signatures":[{"sig":"MEQCIBWRw9upFQ20u4aSAoLOweqC3/n0e05upeeWi5ycRddAAiAPknHlobF7JOyhHEbOzPoWiikZCyk1kMrZOwoknV15WA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@doiftrue%2fjest-simple-reporter@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":12972},"main":"index.js","gitHead":"33f43b1203dddaf1a0567463fc9445b9d7404c89","private":false,"scripts":{},"_npmUser":{"name":"doiftrue","email":"tnkamaev@gmail.com"},"repository":{"url":"git+https://github.com/doiftrue/jest-simple-reporter.git","type":"git"},"_npmVersion":"10.9.0","description":"Simple Jest reporter in a text file.","directories":{},"_nodeVersion":"23.3.0","dependencies":{"markdown-table":"^3.0.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","@jest/types":"^29.6.3","@jest/test-result":"^29.7.0"},"_npmOperationalInternal":{"tmp":"tmp/jest-simple-reporter_1.1.1_1732996013443_0.1095967938535054","host":"s3://npm-registry-packages"}},"1.2.0":{"version":"1.2.0","name":"@doiftrue/jest-simple-reporter","description":"Simple Jest reporter in a text file.","private":false,"author":{"name":"Timur Kamaev"},"main":"index.js","keywords":["jest","jest-reporter","reporter"],"scripts":{},"dependencies":{"markdown-table":"^3.0.4"},"devDependencies":{"jest":"^29.7.0","@jest/test-result":"^29.7.0","@jest/types":"^29.6.3"},"homepage":"https://github.com/doiftrue/jest-simple-reporter#readme","license":"MIT","repository":{"type":"git","url":"git+https://github.com/doiftrue/jest-simple-reporter.git"},"_id":"@doiftrue/jest-simple-reporter@1.2.0","gitHead":"5e371ca20cf6032d12e05669f8f493bc01122ac8","bugs":{"url":"https://github.com/doiftrue/jest-simple-reporter/issues"},"_nodeVersion":"23.11.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-Ao3rLkUt6/0x4q3uiCqvKOwkwX5g2fyQRIO1iiGA4qwGI5vJ2j8d8o1Kjlld+t/bJB+XqL2p+aVyNyvQvIQMNw==","shasum":"2cdd5ee3ea2056c53a8522ecd2993e5979d4981a","tarball":"https://registry.npmjs.org/@doiftrue/jest-simple-reporter/-/jest-simple-reporter-1.2.0.tgz","fileCount":7,"unpackedSize":13373,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@doiftrue%2fjest-simple-reporter@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC2u4/yhah6b0mitYocNo+crXKFqbELfTyFT+Y+lhtUFwIhAOb4wO9J+G1gzYJFLOHY+/4MfvHI/VagLsSeO4COo8ky"}]},"_npmUser":{"name":"doiftrue","email":"tnkamaev@gmail.com"},"directories":{},"maintainers":[{"name":"doiftrue","email":"tnkamaev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jest-simple-reporter_1.2.0_1744197927010_0.8314214797904287"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-25T03:52:13.214Z","modified":"2025-04-09T11:25:27.587Z","0.0.1":"2024-11-25T03:52:13.499Z","1.0.0":"2024-11-25T04:03:07.589Z","1.0.1":"2024-11-25T04:36:12.580Z","1.1.0":"2024-11-25T22:44:31.550Z","1.1.1":"2024-11-30T19:46:53.619Z","1.2.0":"2025-04-09T11:25:27.207Z"},"bugs":{"url":"https://github.com/doiftrue/jest-simple-reporter/issues"},"author":{"name":"Timur Kamaev"},"license":"MIT","homepage":"https://github.com/doiftrue/jest-simple-reporter#readme","keywords":["jest","jest-reporter","reporter"],"repository":{"type":"git","url":"git+https://github.com/doiftrue/jest-simple-reporter.git"},"description":"Simple Jest reporter in a text file.","maintainers":[{"name":"doiftrue","email":"tnkamaev@gmail.com"}],"readme":"Jest Simple Reporter\n==================\nSimple text reporter for Jest that creates a report in a TXT file.\n\n\nInstalling\n----------\n```shell\nnpm install  @doiftrue/jest-simple-reporter  --save-dev\n```\n\n\nGetting Started\n---------------\nTo use this reporter, you will need to have a Jest test environment set up.\n\nAdd the reporter in your `jest.config.js` like so:\n\n```js\n{\n\t//...\n\treporters: [\n\t\t'default',\n\t\t['@doiftrue/jest-simple-reporter', {\n\t\t\toutputFile: 'tmp/report/tests-report.txt',\n\t\t\ttruncateMsg: 1000,\n\t\t}],\n\t]\n\t//...\n}\n```\n\nOr in `package.json` if your Jest config is there:\n```json\n{\n  \"jest\": {\n    \"bail\": false,\n    \"reporters\": [\n      \"default\",\n      [\n        \"@doiftrue/jest-simple-reporter\", {\n          \"outputFile\": \"tmp/report/tests-report.txt\",\n          \"truncateMsg\": 1000\n        }\n      ]\n    ]\n  }\n}\n```\n\n\nOptions\n-------\n\n| Option             | Value      | Description                                                           |\n|--------------------|------------|-----------------------------------------------------------------------|\n| `outputFile`       | `string`   | Path to the output file. Default: './tests.txt'                       |\n| `truncateMsg`      | `number`   | Number of characters to truncate long messages to. Default: 1000      |\n| `nameRelatify`     | `bool`     | Should test file path (suite name) be relative to root. Default: true |\n| `showDuration`     | `bool`     | Add duration info next to testcase. Default: true                     |\n| `filterFilepathCb` | `callable` | Allow to change display of test file path string. Default: null       |\n| `filterGroupCb`    | `callable` | Allow to change display of group name string. Default: null           |\n| `filterStatusCb`   | `callable` | Allow to change display of status string. Default: toUpperCase()      |\n| `filterAssertCb`   | `callable` | Allow to change assert object. Default: null                          |\n| `filterErrorMsgCb` | `callable` | Allow to change error message. Default: null                          |\n\n\n\nReport Example\n--------------\n```text\nREPORT form  25 Nov 2024, 02:57  (0.333 sec)\n\n|            | ✓ Passed | ✗ Failed | • Pending |\n| ---------- | -------- | -------- | --------- |\n| Suites (2) | 1        | 1        | 0         |\n| Tests (9)  | 8        | 1        | 1         |\n\n\nsample1.test.js\n\n  PASSED\n    ✔ adds 1 + 2 to equal 3  (3 ms)\n\n  [Group (level 1)]\n    PASSED\n      ✔ multiplication works  (1 ms)\n      ✔ division works  (0 ms)\n\n  [Group two (level 1)]\n    [Group level 2]\n      PASSED\n        ✔ joins two strings  (0 ms)\n        ✔ calculates string length  (1 ms)\n\n\n\nsample2.test.js\n\n  FAILED\n    ✘ this test should fail  (4 ms)\n      Error: expect(received).toBe(expected) // Object.is equality\n\n      Expected: 5\n      Received: 10\n          at Object.toBe (/app/__tests__/sample2.test.js:4:18)\n          at Promise.then.completed (/app/node_modules/jest-circus/build/utils.js:298:28)\n          at new Promise (<anonymous>)\n          at callAsyncCircusFn (/app/node_modules/jest-circus/build/utils.js:231:10)\n          at _callCircusTest (/app/node_modules/jest-circus/build/run.js:316:40)\n          at processTicksAndRejections (node:internal/process/task_queues:105:5)\n          at _runTest (/app/node_modules/jest-circus/build/run.js:252:3)\n          at _runTestsForDescribeBlock (/app/node_modules/jest-circus/build/run.js:126:9)\n          at run (/app/node_modules/jest-circus/build/run.js:71:3)\n          at runAndTransformResultsToJestFormat (/app/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n          at jestAdapter (/app/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapte...\n\n\n  PASSED\n    ✔ async test example  (0 ms)\n\n  [describe group level 1]\n    PASSED\n      ✔ Test: value after beforeEach  (0 ms)\n      ✔ Test: value resets after afterEach  (1 ms)\n```\n","readmeFilename":"README.md"}