{"id":13475637,"url":"https://github.com/ferrannp/react-native-testing-example","last_synced_at":"2025-07-19T10:39:06.566Z","repository":{"id":77653905,"uuid":"67712492","full_name":"ferrannp/react-native-testing-example","owner":"ferrannp","description":"Example of unit testing a React Native \u0026 Redux app using Jest (and Snapshots!)","archived":false,"fork":false,"pushed_at":"2017-09-20T16:40:34.000Z","size":152,"stargazers_count":170,"open_issues_count":3,"forks_count":42,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-02-27T14:48:12.006Z","etag":null,"topics":["jest","react","react-native","redux","snapshot"],"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/ferrannp.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}},"created_at":"2016-09-08T14:52:01.000Z","updated_at":"2024-07-18T16:05:10.000Z","dependencies_parsed_at":"2023-03-11T18:16:19.438Z","dependency_job_id":null,"html_url":"https://github.com/ferrannp/react-native-testing-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferrannp%2Freact-native-testing-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferrannp%2Freact-native-testing-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferrannp%2Freact-native-testing-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferrannp%2Freact-native-testing-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ferrannp","download_url":"https://codeload.github.com/ferrannp/react-native-testing-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830952,"owners_count":20354854,"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","react","react-native","redux","snapshot"],"created_at":"2024-07-31T16:01:22.127Z","updated_at":"2025-03-16T22:30:54.164Z","avatar_url":"https://github.com/ferrannp.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# React Native Testing Example\n\nThis is the example repo for:\n\n1. [Unit testing React Native with the \\*new\\* Jest (I) — Snapshots come into play!](https://blog.callstack.io/unit-testing-react-native-with-the-new-jest-i-snapshots-come-into-play-68ba19b1b9fe#.o4ov5is9z)\n2. [Unit testing React Native with the \\*new\\* Jest (II) — Redux: Snapshots for your actions and reducers](https://blog.callstack.io/unit-testing-react-native-with-the-new-jest-ii-redux-snapshots-for-your-actions-and-reducers-8559f6f8050b#.sdtb857so)\n\n## Try it out!\n\nInstall dependencies:\n\n```\n$ npm install\n```\n\nRun tests:\n\n```\n$ npm test\n```\n\nYou can also run them in watch mode:\n```\n$ npm test -- --watch\n```\n\nIn this mode, you can play changing the app behaviour, breaking the tests and fixing them!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferrannp%2Freact-native-testing-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fferrannp%2Freact-native-testing-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferrannp%2Freact-native-testing-example/lists"}