{"id":22774747,"url":"https://github.com/will-wow/shallow-react-16","last_synced_at":"2026-03-11T02:01:18.595Z","repository":{"id":39518183,"uuid":"191155955","full_name":"will-wow/shallow-react-16","owner":"will-wow","description":"Sample code for a blog post about testing Hooks with `enzyme.shallow`.","archived":false,"fork":false,"pushed_at":"2022-06-01T02:39:29.000Z","size":1885,"stargazers_count":8,"open_issues_count":21,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T09:50:03.528Z","etag":null,"topics":["enzyme","react","shallow"],"latest_commit_sha":null,"homepage":"https://blog.carbonfive.com/2019/08/05/shallow-testing-hooks-with-enzyme/","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/will-wow.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}},"created_at":"2019-06-10T11:32:54.000Z","updated_at":"2021-04-08T08:23:59.000Z","dependencies_parsed_at":"2022-08-29T16:11:03.768Z","dependency_job_id":null,"html_url":"https://github.com/will-wow/shallow-react-16","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/will-wow/shallow-react-16","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will-wow%2Fshallow-react-16","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will-wow%2Fshallow-react-16/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will-wow%2Fshallow-react-16/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will-wow%2Fshallow-react-16/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/will-wow","download_url":"https://codeload.github.com/will-wow/shallow-react-16/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will-wow%2Fshallow-react-16/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30367799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"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":["enzyme","react","shallow"],"created_at":"2024-12-11T18:17:22.148Z","updated_at":"2026-03-11T02:01:18.569Z","avatar_url":"https://github.com/will-wow.png","language":"JavaScript","readme":"# Shallow-Testing React 16\n\nSample code for a blog post about testing Contexts and Hooks with `enzyme.shallow`.\n\n[https://react-authors-and-posts.surge.sh](https://react-authors-and-posts.surge.sh)\n\n- [Example Test](/src/Authors.test.js)\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `npm start`\n\nRuns the app in the development mode.\u003cbr\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr\u003e\nYou will also see any lint errors in the console.\n\n### `npm test`\n\nLaunches the test runner in the interactive watch mode.\u003cbr\u003e\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `npm format`\n\nRun prettier and auto-format all the code.\n\n### `npm build`\n\nBuild a prod version to the build directory.\n\n### `npm deploy`\n\nDeploy the build directory to surge.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwill-wow%2Fshallow-react-16","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwill-wow%2Fshallow-react-16","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwill-wow%2Fshallow-react-16/lists"}