{"id":24228865,"url":"https://github.com/alisaduncan/component-harness-code","last_synced_at":"2026-05-13T23:35:11.030Z","repository":{"id":49290454,"uuid":"375362493","full_name":"alisaduncan/component-harness-code","owner":"alisaduncan","description":"Sample app with unit tests with and without test harnesses, and a custom component test harness for the component test harness presentation","archived":false,"fork":false,"pushed_at":"2021-07-06T13:02:26.000Z","size":879,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-04T07:42:22.183Z","etag":null,"topics":["angular"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/alisaduncan.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}},"created_at":"2021-06-09T13:19:49.000Z","updated_at":"2022-11-10T18:35:03.000Z","dependencies_parsed_at":"2022-09-05T13:40:26.662Z","dependency_job_id":null,"html_url":"https://github.com/alisaduncan/component-harness-code","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alisaduncan/component-harness-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alisaduncan%2Fcomponent-harness-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alisaduncan%2Fcomponent-harness-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alisaduncan%2Fcomponent-harness-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alisaduncan%2Fcomponent-harness-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alisaduncan","download_url":"https://codeload.github.com/alisaduncan/component-harness-code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alisaduncan%2Fcomponent-harness-code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271574431,"owners_count":24783319,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["angular"],"created_at":"2025-01-14T11:33:31.887Z","updated_at":"2025-10-16T04:56:38.994Z","avatar_url":"https://github.com/alisaduncan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![picture of running app](cover.png)\n\n# Using component harnesses to write tests and creating a test harness for a custom component\n\nThis is a tidy task todo list app with unit test examples. There are tests without using component harnesses and corresponding tests using component harnesses.\nThere's a custom UI component that has a test harness implementation along with tests for the test harness.\n\nThe code in this repo is used by [Tidying up your unit tests](https://alisaduncan.github.io/component-harness/) presentation.\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.0.3.\n\n## Environment setup instructions\n\n```sh\ngit clone\nnpm ci\n```\n\n## Serve the app\n\nRun `npm start`  or `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\n## Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falisaduncan%2Fcomponent-harness-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falisaduncan%2Fcomponent-harness-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falisaduncan%2Fcomponent-harness-code/lists"}