{"id":14967465,"url":"https://github.com/watson28/react-testing-example","last_synced_at":"2026-01-24T04:36:50.606Z","repository":{"id":212001664,"uuid":"98464311","full_name":"watson28/react-testing-example","owner":"watson28","description":"Project to demostrate how to test React components","archived":false,"fork":false,"pushed_at":"2018-01-22T00:31:44.000Z","size":1200,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T04:31:31.330Z","etag":null,"topics":["javascript","karma","mochajs","reactjs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/watson28.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}},"created_at":"2017-07-26T20:44:01.000Z","updated_at":"2017-07-28T15:53:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"3000dc34-82b7-4aee-887b-2f7188d2e338","html_url":"https://github.com/watson28/react-testing-example","commit_stats":null,"previous_names":["watson28/react-testing-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson28%2Freact-testing-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson28%2Freact-testing-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson28%2Freact-testing-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson28%2Freact-testing-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/watson28","download_url":"https://codeload.github.com/watson28/react-testing-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254170140,"owners_count":22026223,"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":["javascript","karma","mochajs","reactjs"],"created_at":"2024-09-24T13:38:05.939Z","updated_at":"2026-01-24T04:36:45.576Z","avatar_url":"https://github.com/watson28.png","language":"JavaScript","readme":"# React Testing Examples\nproject with examples on how to create unit test for React components.\n\n## Uses with Docker\n\n### installation\ngo into folder project and run\n\n```\ndocker build -t react-example .\n```\n\n### Running application\n```\ndocker run --rm -p 8080:8080 -v $(pwd):/workspace react-example\n```\n\n### Running tests\nTests are configured to run with karma and Headless Chrome.\n```\ndocker run --rm -p 8080:8080 -v $(pwd):/workspace react-example npm test\n```\n\n## Uses without Docker\n\n### installation\nnodejs and npm is required\n\n### Running application\n```\nnpm start\n```\n\n### Running tests\nRunning the chrome binary might fail on some systems. That's why is recommended to use the docker image.\n```\nnpm test\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatson28%2Freact-testing-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwatson28%2Freact-testing-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatson28%2Freact-testing-example/lists"}