a reputation protocol for open collaboration
Go to file
William Chargin c1b37fa729 Add an end-to-end component test for App
Summary:
This should ensure that there aren’t any runtime PropTypes errors.

The change to reimplement `Object.entries` is due to the fact that my
local Node environment (v6.11.1) does not yet support that ESnext
function.

Test Plan:
Apply the following diff (`git apply`):
```diff
diff --git a/explorer/src/UserExplorer.js b/explorer/src/UserExplorer.js
index 8da252d..cdc1370 100644
--- a/explorer/src/UserExplorer.js
+++ b/explorer/src/UserExplorer.js
@@ -10,7 +10,7 @@ export class UserExplorer extends Component {
   static propTypes = {
     selectedPath: PropTypes.string.isRequired,
     selectedUser: PropTypes.string,
-    onSelectUser: PropTypes.func.isRequired,
+    onSelectUser: PropTypes.number.isRequired,
     data: commitUtilsPropTypes.commitData.isRequired,
   }
```
Then, `yarn test` should fail. Revert the diff, and `yarn test` should
pass.

wchargin-branch: react-proptypes-test
2018-02-16 16:32:30 -08:00
experiments Tweak commit_graph_dump & store sample data. (#12) 2018-02-15 22:16:37 -08:00
explorer Add an end-to-end component test for App 2018-02-16 16:32:30 -08:00
LICENSE Add LICENSE 2018-02-03 17:58:49 -08:00
README.md Simplify README, link to new docs 2018-02-05 00:09:14 -08:00
design.md Split out useful & ethical. (#7) 2018-02-07 15:04:23 -08:00
overview.md Add overview.md (#6) 2018-02-05 00:14:15 -08:00

README.md

SourceCred

The open-source community provides an enormous amount of value to the world. SourceCred aims to support that community by creating a sustainable model for funding open-source projects, and rewarding the contributors to those projects. We'll do that by enabling every open-source project to create its own digital token, called cred, which represents respect or "street cred" in the community. People will earn cred in a project by contributing to it.

For a high-level overview of how SourceCred works, check out overview.md.

For an in-depth discussion of SourceCred's design, check out design.md (under construction).

We aim to have design discussions on GitHub, so that people who contribute to the design will receive cred in SourceCred. For coordination and casual conversation, please join our slack.