{"id":30127729,"url":"https://github.com/sourceallies/react-tdd-example","last_synced_at":"2025-08-10T17:10:09.713Z","repository":{"id":36862547,"uuid":"41169509","full_name":"sourceallies/react-tdd-example","owner":"sourceallies","description":null,"archived":false,"fork":false,"pushed_at":"2015-09-14T16:58:51.000Z","size":185,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-04-14T22:23:13.361Z","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/sourceallies.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":"2015-08-21T17:52:20.000Z","updated_at":"2015-08-23T16:32:07.000Z","dependencies_parsed_at":"2022-09-05T23:02:05.199Z","dependency_job_id":null,"html_url":"https://github.com/sourceallies/react-tdd-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sourceallies/react-tdd-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourceallies%2Freact-tdd-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourceallies%2Freact-tdd-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourceallies%2Freact-tdd-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourceallies%2Freact-tdd-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sourceallies","download_url":"https://codeload.github.com/sourceallies/react-tdd-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourceallies%2Freact-tdd-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269756394,"owners_count":24470566,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"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":[],"created_at":"2025-08-10T17:10:05.556Z","updated_at":"2025-08-10T17:10:09.693Z","avatar_url":"https://github.com/sourceallies.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"A [TDD](https://twitter.com/hashtag/tdd) example using [React](http://facebook.github.io/react/), [Karma](http://karma-runner.github.io/0.13/index.html), [PhantomJS](http://phantomjs.org/), [Jasmine](http://jasmine.github.io/), and [Sinon](http://sinonjs.org/).\n\nSetup instructions:\n\n    git clone git@github.com:sourceallies/react-tdd-example.git\n    cd react-tdd-example\n    npm install\n    \nTo build the bundle:\n\n    npm run build\n    \nTo run tests:\n\n    npm test\n    \nEach \"feature\" is added in two separate commits.  The first commit, prefixed with \"Failing\", adds the failing test for the feature.  The second commit, prefixed with \"Passing\", implements the feature, causing the previously failing test to pass.\n\nTo easily step through commits, use a script like this:\n\n    #!/bin/bash\n    git checkout master\n    git checkout $1\n    \nAnd specify the commit hash like so:\n\n    ./checkout.sh HASH\n    \nThe list of commit hashes can be found [here](https://github.com/sourceallies/react-tdd-example/commits/master)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourceallies%2Freact-tdd-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsourceallies%2Freact-tdd-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourceallies%2Freact-tdd-example/lists"}