{"id":16864365,"url":"https://github.com/nickserv/rsc-testing","last_synced_at":"2025-03-22T06:32:22.211Z","repository":{"id":165834658,"uuid":"641144445","full_name":"nickserv/rsc-testing","owner":"nickserv","description":"Example Next.js project testing React Server Components with React Testing Library in Vitest","archived":false,"fork":false,"pushed_at":"2025-02-01T16:16:20.000Z","size":642,"stargazers_count":8,"open_issues_count":6,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-15T13:54:11.112Z","etag":null,"topics":["nextjs","react","react-server-components","rsc","server-rendering","testing"],"latest_commit_sha":null,"homepage":"https://github.com/testing-library/react-testing-library/issues/1209#issuecomment-1569813305","language":"TypeScript","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/nickserv.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},"funding":{"github":"nickmccurdy"}},"created_at":"2023-05-15T21:52:25.000Z","updated_at":"2025-02-01T22:29:56.000Z","dependencies_parsed_at":"2023-06-09T08:30:35.932Z","dependency_job_id":"8b987649-3ae9-4306-9165-14bc45fa545a","html_url":"https://github.com/nickserv/rsc-testing","commit_stats":null,"previous_names":["nickserv/rsc-testing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickserv%2Frsc-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickserv%2Frsc-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickserv%2Frsc-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickserv%2Frsc-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickserv","download_url":"https://codeload.github.com/nickserv/rsc-testing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244189791,"owners_count":20412991,"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":["nextjs","react","react-server-components","rsc","server-rendering","testing"],"created_at":"2024-10-13T14:41:58.881Z","updated_at":"2025-03-22T06:32:17.204Z","avatar_url":"https://github.com/nickserv.png","language":"TypeScript","readme":"This is an example [Next.js](https://nextjs.org/) project testing\n[React Server Components](https://react.dev/blog/2020/12/21/data-fetching-with-react-server-components)\nwith [React Testing Library](https://testing-library.com/react) in [Vitest](https://vitest.dev/).\n\nIt follows my [workarounds for React Server Components\n](https://github.com/testing-library/react-testing-library/issues/1209#issuecomment-1569813305).\n\nUsing Jest? See the [Jest branch](https://github.com/nickmccurdy/rsc-testing/tree/jest).\n\n## Getting Started\n\nInstall dependencies and run tests:\n\n```bash\nnpm install-test\n```\n\nYou can also run the Next.js server:\n\n```bash\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nYou can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.\n","funding_links":["https://github.com/sponsors/nickmccurdy"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickserv%2Frsc-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickserv%2Frsc-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickserv%2Frsc-testing/lists"}