{"id":20279640,"url":"https://github.com/onero/angular-simple-jest-testing","last_synced_at":"2026-06-29T15:31:09.156Z","repository":{"id":97725109,"uuid":"356716445","full_name":"onero/Angular-Simple-Jest-Testing","owner":"onero","description":"Project for demoing simple testing with Jest","archived":false,"fork":false,"pushed_at":"2021-04-10T23:01:04.000Z","size":190,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-19T22:02:54.587Z","etag":null,"topics":["angular","jest","testing"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/onero.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":"2021-04-10T23:01:01.000Z","updated_at":"2021-04-10T23:04:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"f514417f-ecf9-49ad-85ae-87b97dd6bcbd","html_url":"https://github.com/onero/Angular-Simple-Jest-Testing","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/onero/Angular-Simple-Jest-Testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onero%2FAngular-Simple-Jest-Testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onero%2FAngular-Simple-Jest-Testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onero%2FAngular-Simple-Jest-Testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onero%2FAngular-Simple-Jest-Testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onero","download_url":"https://codeload.github.com/onero/Angular-Simple-Jest-Testing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onero%2FAngular-Simple-Jest-Testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34933498,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"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","jest","testing"],"created_at":"2024-11-14T13:31:51.863Z","updated_at":"2026-06-29T15:31:09.131Z","avatar_url":"https://github.com/onero.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleJestTesting\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.4.\n\n## Development server\n\nRun `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## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n## Build\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.\n\n## Running unit tests\n\nRun `ng test` to execute the unit tests via [Jest](https://jestjs.io/).\n\nThis entire project has been setup according to this guide on [How to setup Angular unit testing with jest](https://www.amadousall.com/how-to-set-up-angular-unit-testing-with-jest/)\n\nThe [@briebug schematics](https://github.com/briebug/jest-schematic) were used, which simplifies the installation greatly!\n\nNo Testbed is used for testing in this project, instead the simpler Jest mocking is used for all tests!\n\nIn order to use Jest --watch mode simply run\n`npm run test:watch`\nWhen running in watch-mode the following commands can be issued\n```\nWatch Usage\n › Press f to run only failed tests.\n › Press o to only run tests related to changed files.\n › Press p to filter by a filename regex pattern.\n › Press t to filter by a test name regex pattern.\n › Press q to quit watch mode.\n › Press Enter to trigger a test run.\n```\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonero%2Fangular-simple-jest-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonero%2Fangular-simple-jest-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonero%2Fangular-simple-jest-testing/lists"}