{"id":15698200,"url":"https://github.com/whyboris/karma-helpful-reporter","last_synced_at":"2025-09-10T00:15:52.227Z","repository":{"id":23319342,"uuid":"98699562","full_name":"whyboris/karma-helpful-reporter","owner":"whyboris","description":"A karma reporter based on karma-nyan-reporter","archived":false,"fork":false,"pushed_at":"2023-03-04T03:39:47.000Z","size":771,"stargazers_count":7,"open_issues_count":8,"forks_count":1,"subscribers_count":1,"default_branch":"karma-helpful-reporter","last_synced_at":"2025-05-07T22:45:50.389Z","etag":null,"topics":["karma-reporter"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whyboris.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-29T01:15:24.000Z","updated_at":"2025-04-30T02:52:53.000Z","dependencies_parsed_at":"2024-06-18T23:53:55.371Z","dependency_job_id":null,"html_url":"https://github.com/whyboris/karma-helpful-reporter","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whyboris%2Fkarma-helpful-reporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whyboris%2Fkarma-helpful-reporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whyboris%2Fkarma-helpful-reporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whyboris%2Fkarma-helpful-reporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whyboris","download_url":"https://codeload.github.com/whyboris/karma-helpful-reporter/tar.gz/refs/heads/karma-helpful-reporter","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252967975,"owners_count":21833247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["karma-reporter"],"created_at":"2024-10-03T19:23:51.116Z","updated_at":"2025-05-07T22:46:01.907Z","avatar_url":"https://github.com/whyboris.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://badge.fury.io/js/karma-helpful-reporter.svg)](http://badge.fury.io/js/karma-helpful-reporter)\n[![Build Status](https://travis-ci.org/whyboris/karma-helpful-reporter.svg)](https://travis-ci.org/whyboris/karma-helpful-reporter)\n[![Coverage Status](https://coveralls.io/repos/github/whyboris/karma-helpful-reporter/badge.svg?branch=karma-helpful-reporter)](https://coveralls.io/github/whyboris/karma-helpful-reporter?branch=karma-helpful-reporter)\n[![Code Climate](https://codeclimate.com/github/whyboris/karma-helpful-reporter/badges/gpa.svg)](https://codeclimate.com/github/whyboris/karma-helpful-reporter)\n[![Dependency Status](https://david-dm.org/whyboris/karma-helpful-reporter.svg)](https://david-dm.org/whyboris/karma-helpful-reporter)\n\nkarma-helpful-reporter\n===\n\nKarma Helpful Reporter gives you a customizable report after you run your Karma tests.\n\n![karma-helpful-reporter](https://user-images.githubusercontent.com/17264277/28763978-fcc6466c-758f-11e7-9343-b13933f15e88.png \"Karma Helpful Reporter\")\n\nThe errors from failed tests are displayed hierarchically based on the test suite and nesting level. `console.log()` messages are output at the bottom below the test summary and grouped by browser.\n\nSetup \u0026 Options\n===\n\nInstall with npm:\n\n```sh\nnpm install --save-dev karma-helpful-reporter\n```\n\nInside your `karma.conf.js` \n - add `require('karma-helpful-reporter')` to the `plugins` array\n - add `'helpful'` to the `reporters` array\n\nOptionally, add the `helpfulReporter` object with as many properties from the below set as you'd like.\n - The listed properties' values are the default ones\n\n```js\n// karma.conf.js\nmodule.exports = function(config) {\n  config.set({\n    plugins: [ require('karma-helpful-reporter') ],\n    reporters: [ 'helpful' ],\n\n    // Optional reporter settings\n    helpfulReporter: {\n      animationStyle: 'braille',\n      clearScreenBeforeEveryRun: false,\n      hideBrowser: false,\n      maxLogLines: 42,\n      removeLinesContaining: [],\n      removeTail: false,\n      renderOnRunCompleteOnly: false,\n      suppressErrorReport: false,\n      underlineFileType: '',\n      colorBrowser: 205,\n      colorConsoleLogs: 45,\n      colorFail: 9,\n      colorFirstLine: 211,\n      colorLoggedErrors: 250,\n      colorPass: 10,\n      colorSkip: 11,\n      colorTestName: 199,\n      colorUnderline: 254,\n    }\n  });\n};\n```\n\n\nProperty | Default | Description\n--- | --- | ---\nanimationStyle | 'braille' | Set in-progress animation to _'braille'_, _'braille2'_, or emoji _'clock'_.\nclearScreenBeforeEveryRun | false | Clear screen before every run\nhideBrowser | true | Hide browser name from the report\nmaxLogLines | 42 | Limit the maximum number of lines in report\nremoveLinesContaining | [] | Remove all lines from the final report containing any of these strings, e.g. _['@angular', 'zone.js']_\nremoveTail | false | Remove from the final report anything that follows '\u003c-', e.g. _blah blah \u003c- test.ts 4250:39_ becomes _blah blah_\nrenderOnRunCompleteOnly | false | Do not animate while tests are running\nsuppressErrorReport | false | Suppress the error report at the end of the test run\nunderlineFileType | '' | Underline filename of some file type; all files in the error report that have this particular extention will be underlined, e.g. _'spec.ts'_; set the color with the _colorUnderline_ property\ncolorBrowser | 224 | \u003cimg src=\"http://medyk.org/colors/ffd7d7.png\" style=\"border: 1px solid black\" width=\"20\" height=\"20\" /\u003e \ncolorConsoleLogs | 45 | \u003cimg src=\"http://medyk.org/colors/00d7ff.png\" style=\"border: 1px solid black\" width=\"20\" height=\"20\" /\u003e\ncolorFail | 210 | \u003cimg src=\"http://medyk.org/colors/ff8787.png\" style=\"border: 1px solid black\" width=\"20\" height=\"20\" /\u003e \ncolorFirstLine | 217 | \u003cimg src=\"http://medyk.org/colors/ffafaf.png\" style=\"border: 1px solid black\" width=\"20\" height=\"20\" /\u003e\ncolorLoggedErrors | 250 | \u003cimg src=\"http://medyk.org/colors/bcbcbc.png\" style=\"border: 1px solid black\" width=\"20\" height=\"20\" /\u003e\ncolorPass | 154 | \u003cimg src=\"http://medyk.org/colors/afff00.png\" style=\"border: 1px solid black\" width=\"20\" height=\"20\" /\u003e \ncolorSkip | 117 | \u003cimg src=\"http://medyk.org/colors/87d7ff.png\" style=\"border: 1px solid black\" width=\"20\" height=\"20\" /\u003e \ncolorTestName | 210 | \u003cimg src=\"http://medyk.org/colors/ff8787.png\" style=\"border: 1px solid black\" width=\"20\" height=\"20\" /\u003e\ncolorUnderline | 255 | \u003cimg src=\"http://medyk.org/colors/eeeeee.png\" style=\"border: 1px solid black\" width=\"20\" height=\"20\" /\u003e\n\nSet custom colors by using permitted [cli-color](https://github.com/medikoo/cli-color) numbers.\n\nNotes\n===\n\nThis project was forked from [karma-nyan-reporter](https://github.com/dgarlitt/karma-nyan-reporter/) in July 2017 and updated with improved functionality.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhyboris%2Fkarma-helpful-reporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhyboris%2Fkarma-helpful-reporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhyboris%2Fkarma-helpful-reporter/lists"}