{"id":17028527,"url":"https://github.com/bennycode/test-coverage","last_synced_at":"2026-01-20T14:08:11.233Z","repository":{"id":148477684,"uuid":"132778284","full_name":"bennycode/test-coverage","owner":"bennycode","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-11T21:23:25.000Z","size":453,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T20:43:23.731Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bennycode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-05-09T15:37:16.000Z","updated_at":"2018-11-09T17:16:23.000Z","dependencies_parsed_at":"2024-12-19T03:42:40.677Z","dependency_job_id":"8f07863f-06f6-4483-87ae-29f37b922aa3","html_url":"https://github.com/bennycode/test-coverage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bennycode/test-coverage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennycode%2Ftest-coverage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennycode%2Ftest-coverage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennycode%2Ftest-coverage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennycode%2Ftest-coverage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bennycode","download_url":"https://codeload.github.com/bennycode/test-coverage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennycode%2Ftest-coverage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28604712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-10-14T07:54:52.006Z","updated_at":"2026-01-20T14:08:11.217Z","avatar_url":"https://github.com/bennycode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## `yarn cov:browser`\r\n\r\nUses Karma to run the webpacked Jasmine specs in a browser environment (headless Chrome). It uses [karma-coverage-istanbul-reporter](https://github.com/mattlewis92/karma-coverage-istanbul-reporter) to write a test coverage report into [coverage/browser/html/index.html](./coverage/browser/html/index.html).\r\n\r\n**Output**\r\n\r\n- MyClass: 88.89%\r\n- [index.html](./coverage/browser/html/index.html)\r\n- [coverage-final.json](./coverage/browser/coverage-final.json)\r\n\r\n## `yarn cov:node`\r\n\r\nRuns the Jasmine specs and uses Istanbul's `cover` command to report code coverage into [coverage/node/cover/index.html](./coverage/node/cover/index.html).\r\n\r\n**Specifics**\r\n- Tests the compiled output (ES5 code) \r\n- Coverage is made for the compiled output (ES5 code) WITHOUT remapping it to TypeScript\r\n\r\n**Coverage**\r\n- `MyTest.js`: 80%\r\n\r\n**Output**\r\n\r\n- [index.html](./coverage/node/cover/index.html)\r\n- [coverage.raw.json](./coverage/node/cover/coverage.raw.json)\r\n\r\n## `yarn cov:node:remap`\r\n\r\nUses [remap-istanbul](https://github.com/SitePen/remap-istanbul) to convert Istanbul code coverage information ([coverage.raw.json](./coverage/node/cover/coverage.raw.json)) from the Node.js test run into its original source positions ([coverage-node.json](./coverage/node/remap/coverage-node.json)) based on JavaScript Source Maps from the original TypeScript code.\r\n\r\n**Coverage**\r\n- /\r\n\r\n**Specifics**\r\n- Needs [coverage.raw.json](./coverage/node/cover/coverage.raw.json)\r\n\r\n**Output**\r\n\r\n- [coverage-node.json](./coverage/node/remap/coverage-node.json)\r\n\r\n## `yarn cov:node:remap:html`\r\n\r\nSame us above but with HTML output based on original source positions.\r\n\r\n**Coverage**\r\n- `MyTest.ts`: 75%\r\n\r\n**Specifics**\r\n- Gives HTML coverage of TS source code mapped from JS code coverage information ([coverage.raw.json](./coverage/node/cover/coverage.raw.json))\r\n\r\n**Output**\r\n\r\n- [index.html](./coverage/node/remap/html/index.html)\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbennycode%2Ftest-coverage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbennycode%2Ftest-coverage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbennycode%2Ftest-coverage/lists"}