{"id":16470635,"url":"https://github.com/remrkabledev/react-testing-jest-enzyme","last_synced_at":"2025-07-17T03:08:02.237Z","repository":{"id":37092061,"uuid":"247029311","full_name":"reMRKableDev/react-testing-jest-enzyme","owner":"reMRKableDev","description":"Testing of react app using Jest + Enzyme","archived":false,"fork":false,"pushed_at":"2024-10-21T20:36:31.000Z","size":654,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-30T08:17:32.597Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/reMRKableDev.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":"2020-03-13T09:05:34.000Z","updated_at":"2024-10-21T20:36:32.000Z","dependencies_parsed_at":"2024-04-23T12:45:40.481Z","dependency_job_id":"b3c51ef8-46af-4cd0-aef5-68b81667139e","html_url":"https://github.com/reMRKableDev/react-testing-jest-enzyme","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reMRKableDev/react-testing-jest-enzyme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reMRKableDev%2Freact-testing-jest-enzyme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reMRKableDev%2Freact-testing-jest-enzyme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reMRKableDev%2Freact-testing-jest-enzyme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reMRKableDev%2Freact-testing-jest-enzyme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reMRKableDev","download_url":"https://codeload.github.com/reMRKableDev/react-testing-jest-enzyme/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reMRKableDev%2Freact-testing-jest-enzyme/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265562248,"owners_count":23788491,"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":[],"created_at":"2024-10-11T12:11:21.713Z","updated_at":"2025-07-17T03:08:02.047Z","avatar_url":"https://github.com/reMRKableDev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Testing React App with Jest + Enzyme \n\nApplying testing principles to a React app that fetches users data from [JSONPlaceholder API](https://jsonplaceholder.typicode.com/users)\n\n## Frameworks and Tools\nUtilizing Jest and Enzyme for the testing of functions and components in the app \n\n[Jest](https://jestjs.io/) - a JavaScript testing framework.\n```javascript\ntest(\"test description\", () =\u003e {\n    // Test goes here\n})\n```\n\n[Enzyme](https://enzymejs.github.io/enzyme/) - a JavaScript Testing utility for React that makes it easier to test React Components' output.\n```javascript\nshallow() - gives a light-weight representation of what a component renders\n\nrender() - gives the HTML rendered output of my component.\n\nmount() - gives a full DOM representation of my component. Useful for testing DOM events such as onClick, onSubmit, etc...\n```\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\n\n### Prerequisites\n\nWhat things you need installed on your local machine.\n\n```\nText editor (I use VSCode)\nNPM\nGit\n```\n\n### How To:\n\nTo use the app:\n\n```\n1. Fork and/or Clone repo.\n2. Run 'npm install' on your local repo so as to get the required dependencies.\n3. Run tests with 'npm test'.\n4. Launch working app with 'npm start'\n```\n\nHave fun :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremrkabledev%2Freact-testing-jest-enzyme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremrkabledev%2Freact-testing-jest-enzyme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremrkabledev%2Freact-testing-jest-enzyme/lists"}