{"id":15813750,"url":"https://github.com/ducnguyenhong/unit-test-react","last_synced_at":"2026-04-16T13:32:21.436Z","repository":{"id":251191918,"uuid":"836653671","full_name":"ducnguyenhong/unit-test-react","owner":"ducnguyenhong","description":"Unit Testing with ReactJS","archived":false,"fork":false,"pushed_at":"2024-08-06T10:05:10.000Z","size":153,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-06T04:04:55.095Z","etag":null,"topics":["jest","msw","react","testing-library","typescript"],"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/ducnguyenhong.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":"2024-08-01T09:27:43.000Z","updated_at":"2024-08-06T10:17:29.000Z","dependencies_parsed_at":"2025-01-11T15:46:59.412Z","dependency_job_id":null,"html_url":"https://github.com/ducnguyenhong/unit-test-react","commit_stats":null,"previous_names":["ducnguyenhong/unit-test-react"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducnguyenhong%2Funit-test-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducnguyenhong%2Funit-test-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducnguyenhong%2Funit-test-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducnguyenhong%2Funit-test-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ducnguyenhong","download_url":"https://codeload.github.com/ducnguyenhong/unit-test-react/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246569006,"owners_count":20798341,"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":["jest","msw","react","testing-library","typescript"],"created_at":"2024-10-05T04:05:27.003Z","updated_at":"2026-04-16T13:32:21.409Z","avatar_url":"https://github.com/ducnguyenhong.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unit Testing with ReactJS\n\n## Technologies:\n\n- ReactJS, Typescript, Jest, React Testing Library, MSW...\n\n## Test function:\n\nCode: **`src/test-function`**\n\n- Function to calculate sum of 2 numbers\n- Function to calculate total amount of order\n\n## Test component:\n\nCode: **`src/test-component`**\n\n- Test component has data\n- Test component has loading\n- Test component empty data\n- Test component has error\n\n## Usage\n\n**`yarn install`**\n\n**`yarn test`**\n\n## Results\n\n![Test results](/public/results.png 'Test results')\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fducnguyenhong%2Funit-test-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fducnguyenhong%2Funit-test-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fducnguyenhong%2Funit-test-react/lists"}