{"id":18490689,"url":"https://github.com/loveky/unit-testing-react-component","last_synced_at":"2026-05-18T03:01:29.644Z","repository":{"id":142387749,"uuid":"136179125","full_name":"loveky/unit-testing-react-component","owner":"loveky","description":"Demo code for","archived":false,"fork":false,"pushed_at":"2018-06-05T13:33:31.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T08:10:37.612Z","etag":null,"topics":["enzyme","react","react-test-renderer","test"],"latest_commit_sha":null,"homepage":"https://loveky.github.io/2018/06/05/unit-testing-react-component-with-jest/","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/loveky.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-06-05T13:09:18.000Z","updated_at":"2020-12-02T07:04:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"f0e5298b-e607-4b5e-9277-8fc735004b2c","html_url":"https://github.com/loveky/unit-testing-react-component","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/loveky/unit-testing-react-component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loveky%2Funit-testing-react-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loveky%2Funit-testing-react-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loveky%2Funit-testing-react-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loveky%2Funit-testing-react-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loveky","download_url":"https://codeload.github.com/loveky/unit-testing-react-component/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loveky%2Funit-testing-react-component/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33163413,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"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":["enzyme","react","react-test-renderer","test"],"created_at":"2024-11-06T13:00:21.909Z","updated_at":"2026-05-18T03:01:29.609Z","avatar_url":"https://github.com/loveky.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Demo code for [《利用 Jest 为 React 组件编写单元测试》](https://loveky.github.io/2018/06/05/unit-testing-react-component-with-jest/)\n\n```bash\nnpm install\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floveky%2Funit-testing-react-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floveky%2Funit-testing-react-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floveky%2Funit-testing-react-component/lists"}