{"id":23302158,"url":"https://github.com/alitaee/test-lab","last_synced_at":"2026-02-11T14:31:43.250Z","repository":{"id":91065293,"uuid":"422558914","full_name":"AliTaee/test-lab","owner":"AliTaee","description":"Learning and Practicing unit test","archived":false,"fork":false,"pushed_at":"2024-09-27T08:18:54.000Z","size":689,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-11T00:41:09.924Z","etag":null,"topics":["jest","reactjs","testing-library","unit-testing"],"latest_commit_sha":null,"homepage":"","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/AliTaee.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-10-29T12:02:41.000Z","updated_at":"2024-09-27T08:18:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"7a937916-094a-4bb7-a839-7664f666ef13","html_url":"https://github.com/AliTaee/test-lab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AliTaee/test-lab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliTaee%2Ftest-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliTaee%2Ftest-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliTaee%2Ftest-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliTaee%2Ftest-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AliTaee","download_url":"https://codeload.github.com/AliTaee/test-lab/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliTaee%2Ftest-lab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29335183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T14:07:45.431Z","status":"ssl_error","status_checked_at":"2026-02-11T14:07:45.080Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["jest","reactjs","testing-library","unit-testing"],"created_at":"2024-12-20T10:19:06.785Z","updated_at":"2026-02-11T14:31:43.233Z","avatar_url":"https://github.com/AliTaee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Test-lab\n\nLearning and Practicing unit test in React and JavaScript.\n\n## fundamentals folder ⚛️\n\nIn this folder you could find pure unit testing in JavaScript\nand how we could create our own assertion library.\n\n## src/components folder\n\nIn this folder you could see examples of unit testing for react components.\n\n## src/hooks folder\n\nIn this folder you could see examples of unit testing for react custom hooks.\n\n## src/redux folder\n\nIn this folder you could see examples of unit and integration testing for redux and react components.\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `yarn start`\n\nRuns the app in the development mode.\\\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\\\nYou will also see any lint errors in the console.\n\n### `yarn test`\n\nLaunches the test runner in the interactive watch mode.\\\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n## Useful links 🔗\n\n- [Testingjavascript.com](https://testingjavascript.com/)\n- [But really, what is a JavaScript test?](https://kentcdodds.com/blog/but-really-what-is-a-javascript-test)\n- [How to test a custom react hook](https://atomizedobjects.com/blog/react/how-to-test-a-custom-react-hook/)\n- [Kentcdodds blog](https://kentcdodds.com/blog?q=testing)\n- [Testing-library Queries](https://testing-library.com/docs/queries/about)\n- [Testing-library guide-disappearance](https://testing-library.com/docs/guide-disappearance/)\n- [Front-End Testing is For Everyone](https://css-tricks.com/front-end-testing-is-for-everyone/)\n- [Common mistakes with React Testing Library](https://kentcdodds.com/blog/common-mistakes-with-react-testing-library)\n\n## Redux\n\n- [Writing Tests for Redux](https://redux.js.org/usage/writing-tests)\n- [Testing Implementation Details](https://kentcdodds.com/blog/testing-implementation-details)\n\n## Libraries 📚\n\n- [Jestjs.io](https://jestjs.io/)\n- [History](https://www.npmjs.com/package/history)\n- [Jest-axe](https://github.com/nickcolley/jest-axe)\n- [Testing-library.com](https://testing-library.com/)\n\n## Tools 🛠️\n\n- [Testing playground](https://chrome.google.com/webstore/detail/testing-playground/hejbmebodbijjdhflfknehhcgaklhano?hl=en)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falitaee%2Ftest-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falitaee%2Ftest-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falitaee%2Ftest-lab/lists"}