{"id":28789617,"url":"https://github.com/lemoncode/react-testing-excercise","last_synced_at":"2026-06-20T20:31:14.219Z","repository":{"id":74273662,"uuid":"198693102","full_name":"Lemoncode/react-testing-excercise","owner":"Lemoncode","description":null,"archived":false,"fork":false,"pushed_at":"2020-03-19T15:02:43.000Z","size":1147,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-17T22:11:36.129Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lemoncode.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2019-07-24T18:54:34.000Z","updated_at":"2021-11-06T01:50:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"919c7d02-4f76-4098-9086-793587ae633e","html_url":"https://github.com/Lemoncode/react-testing-excercise","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Lemoncode/react-testing-excercise","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lemoncode%2Freact-testing-excercise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lemoncode%2Freact-testing-excercise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lemoncode%2Freact-testing-excercise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lemoncode%2Freact-testing-excercise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lemoncode","download_url":"https://codeload.github.com/Lemoncode/react-testing-excercise/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lemoncode%2Freact-testing-excercise/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34585195,"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-20T02:00:06.407Z","response_time":98,"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":[],"created_at":"2025-06-17T22:11:12.878Z","updated_at":"2026-06-20T20:31:14.213Z","avatar_url":"https://github.com/Lemoncode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-testing-excercise\n\n## Intro\n\nThe goal of this excercise is add all necessary tests and testing configuration.\n\n## Excercise\n\n- Install all necessary libs for testing.\n- Add `jest` configuration.\n- Add `debug` configuration.\n- Add mapper tests (`common/mappers/collection.mapper.ts`, `pods/hotel-collection/hotel-collection.mapper.ts`).\n- Add `common/components` tests.\n- Add `pods/hotel-collection/hotel-collection.hook.ts` tests.\n- Add components and containers tests inside pods. (login and hotel-collection)\n\n## Optional\n\n- Add `coverage` configuration.\n- Add `travis-ci` or `circle-ci` configuration.\n- Move some pod to redux and test:\n    - `reducers`\n    - `actions`\n    - `sagas`\n    - `selectors`\n    - `containers`\n\n## Important\n\n- When configure `jest.json` file, add `alias` configuration using:\n\n```javascript\n{\n  \"rootDir\": \"../../\",\n  ...\n  \"moduleDirectories\": [\"\u003crootDir\u003e/src\", \"node_modules\"],\n}\n\n```\n\n# About Basefactor + Lemoncode\n\nWe are an innovating team of Javascript experts, passionate about turning your ideas into robust products.\n\n[Basefactor, consultancy by Lemoncode](http://www.basefactor.com) provides consultancy and coaching services.\n\n[Lemoncode](http://lemoncode.net/services/en/#en-home) provides training services.\n\nFor the LATAM/Spanish audience we are running an Online Front End Master degree, more info: http://lemoncode.net/master-frontend\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemoncode%2Freact-testing-excercise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flemoncode%2Freact-testing-excercise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemoncode%2Freact-testing-excercise/lists"}