Update example GitHub data (#813)

Generated via `src/plugins/github/fetchGithubRepoTest.sh -u`

`yarn test --full` passes.

Closes #389. Thanks, @wchargin!
This commit is contained in:
Dandelion Mané 2018-09-12 17:18:37 -07:00 committed by GitHub
parent 737ed4d8b3
commit 70fe677990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 400 additions and 155 deletions

View File

@ -25,8 +25,8 @@ Array [
"6", "6",
"417104047", "417104047",
], ],
"dstIndex": 13, "dstIndex": 17,
"srcIndex": 30, "srcIndex": 35,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -43,8 +43,8 @@ Array [
"example-github", "example-github",
"1", "1",
], ],
"dstIndex": 17, "dstIndex": 21,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -61,8 +61,8 @@ Array [
"example-github", "example-github",
"10", "10",
], ],
"dstIndex": 18, "dstIndex": 22,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -79,8 +79,8 @@ Array [
"example-github", "example-github",
"2", "2",
], ],
"dstIndex": 19, "dstIndex": 24,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -97,8 +97,8 @@ Array [
"example-github", "example-github",
"4", "4",
], ],
"dstIndex": 20, "dstIndex": 25,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -115,8 +115,8 @@ Array [
"example-github", "example-github",
"6", "6",
], ],
"dstIndex": 21, "dstIndex": 26,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -133,8 +133,8 @@ Array [
"example-github", "example-github",
"7", "7",
], ],
"dstIndex": 22, "dstIndex": 27,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -151,8 +151,8 @@ Array [
"example-github", "example-github",
"8", "8",
], ],
"dstIndex": 23, "dstIndex": 28,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -169,8 +169,8 @@ Array [
"example-github", "example-github",
"3", "3",
], ],
"dstIndex": 24, "dstIndex": 29,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -187,8 +187,8 @@ Array [
"example-github", "example-github",
"5", "5",
], ],
"dstIndex": 25, "dstIndex": 30,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -205,8 +205,28 @@ Array [
"example-github", "example-github",
"9", "9",
], ],
"dstIndex": 26, "dstIndex": 31,
"srcIndex": 31, "srcIndex": 36,
},
Object {
"address": Array [
"sourcecred",
"github",
"AUTHORS",
"3",
"USERLIKE",
"USER",
"decentralion",
"6",
"COMMENT",
"ISSUE",
"sourcecred",
"example-github",
"11",
"420813621",
],
"dstIndex": 5,
"srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -225,8 +245,8 @@ Array [
"2", "2",
"373768703", "373768703",
], ],
"dstIndex": 2, "dstIndex": 6,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -245,8 +265,8 @@ Array [
"2", "2",
"373768850", "373768850",
], ],
"dstIndex": 3, "dstIndex": 7,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -265,8 +285,8 @@ Array [
"2", "2",
"385576185", "385576185",
], ],
"dstIndex": 4, "dstIndex": 8,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -285,8 +305,8 @@ Array [
"2", "2",
"385576220", "385576220",
], ],
"dstIndex": 5, "dstIndex": 9,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -305,8 +325,8 @@ Array [
"2", "2",
"385576248", "385576248",
], ],
"dstIndex": 6, "dstIndex": 10,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -325,8 +345,8 @@ Array [
"2", "2",
"385576273", "385576273",
], ],
"dstIndex": 7, "dstIndex": 11,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -345,8 +365,8 @@ Array [
"2", "2",
"385576920", "385576920",
], ],
"dstIndex": 8, "dstIndex": 12,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -365,8 +385,8 @@ Array [
"2", "2",
"385576936", "385576936",
], ],
"dstIndex": 9, "dstIndex": 13,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -385,8 +405,8 @@ Array [
"6", "6",
"373768442", "373768442",
], ],
"dstIndex": 10, "dstIndex": 14,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -405,8 +425,8 @@ Array [
"6", "6",
"373768538", "373768538",
], ],
"dstIndex": 11, "dstIndex": 15,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -425,8 +445,8 @@ Array [
"6", "6",
"385223316", "385223316",
], ],
"dstIndex": 12, "dstIndex": 16,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -445,8 +465,8 @@ Array [
"3", "3",
"369162222", "369162222",
], ],
"dstIndex": 14, "dstIndex": 18,
"srcIndex": 31, "srcIndex": 36,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -463,8 +483,26 @@ Array [
"example-github", "example-github",
"10", "10",
], ],
"dstIndex": 18, "dstIndex": 22,
"srcIndex": 32, "srcIndex": 37,
},
Object {
"address": Array [
"sourcecred",
"github",
"AUTHORS",
"3",
"USERLIKE",
"USER",
"wchargin",
"4",
"ISSUE",
"sourcecred",
"example-github",
"11",
],
"dstIndex": 23,
"srcIndex": 37,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -481,8 +519,8 @@ Array [
"example-github", "example-github",
"9", "9",
], ],
"dstIndex": 26, "dstIndex": 31,
"srcIndex": 32, "srcIndex": 37,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -500,8 +538,8 @@ Array [
"5", "5",
"100313899", "100313899",
], ],
"dstIndex": 28, "dstIndex": 33,
"srcIndex": 32, "srcIndex": 37,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -519,8 +557,28 @@ Array [
"5", "5",
"100314038", "100314038",
], ],
"dstIndex": 29, "dstIndex": 34,
"srcIndex": 32, "srcIndex": 37,
},
Object {
"address": Array [
"sourcecred",
"github",
"AUTHORS",
"3",
"USERLIKE",
"USER",
"wchargin",
"6",
"COMMENT",
"ISSUE",
"sourcecred",
"example-github",
"11",
"420813013",
],
"dstIndex": 3,
"srcIndex": 37,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -539,8 +597,8 @@ Array [
"5", "5",
"396430464", "396430464",
], ],
"dstIndex": 15, "dstIndex": 19,
"srcIndex": 32, "srcIndex": 37,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -560,8 +618,8 @@ Array [
"100313899", "100313899",
"171460198", "171460198",
], ],
"dstIndex": 16, "dstIndex": 20,
"srcIndex": 32, "srcIndex": 37,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -574,8 +632,8 @@ Array [
"example-github", "example-github",
"1", "1",
], ],
"dstIndex": 27, "dstIndex": 32,
"srcIndex": 17, "srcIndex": 21,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -588,8 +646,22 @@ Array [
"example-github", "example-github",
"10", "10",
], ],
"dstIndex": 27, "dstIndex": 32,
"srcIndex": 18, "srcIndex": 22,
},
Object {
"address": Array [
"sourcecred",
"github",
"HAS_PARENT",
"4",
"ISSUE",
"sourcecred",
"example-github",
"11",
],
"dstIndex": 32,
"srcIndex": 23,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -602,8 +674,8 @@ Array [
"example-github", "example-github",
"2", "2",
], ],
"dstIndex": 27, "dstIndex": 32,
"srcIndex": 19, "srcIndex": 24,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -616,8 +688,8 @@ Array [
"example-github", "example-github",
"4", "4",
], ],
"dstIndex": 27, "dstIndex": 32,
"srcIndex": 20, "srcIndex": 25,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -630,8 +702,8 @@ Array [
"example-github", "example-github",
"6", "6",
], ],
"dstIndex": 27, "dstIndex": 32,
"srcIndex": 21, "srcIndex": 26,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -644,8 +716,8 @@ Array [
"example-github", "example-github",
"7", "7",
], ],
"dstIndex": 27, "dstIndex": 32,
"srcIndex": 22, "srcIndex": 27,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -658,8 +730,8 @@ Array [
"example-github", "example-github",
"8", "8",
], ],
"dstIndex": 27, "dstIndex": 32,
"srcIndex": 23, "srcIndex": 28,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -672,8 +744,8 @@ Array [
"example-github", "example-github",
"3", "3",
], ],
"dstIndex": 27, "dstIndex": 32,
"srcIndex": 24, "srcIndex": 29,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -686,8 +758,8 @@ Array [
"example-github", "example-github",
"5", "5",
], ],
"dstIndex": 27, "dstIndex": 32,
"srcIndex": 25, "srcIndex": 30,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -700,8 +772,8 @@ Array [
"example-github", "example-github",
"9", "9",
], ],
"dstIndex": 27, "dstIndex": 32,
"srcIndex": 26, "srcIndex": 31,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -715,8 +787,8 @@ Array [
"5", "5",
"100313899", "100313899",
], ],
"dstIndex": 25, "dstIndex": 30,
"srcIndex": 28, "srcIndex": 33,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -730,8 +802,72 @@ Array [
"5", "5",
"100314038", "100314038",
], ],
"dstIndex": 25, "dstIndex": 30,
"srcIndex": 29, "srcIndex": 34,
},
Object {
"address": Array [
"sourcecred",
"github",
"HAS_PARENT",
"6",
"COMMENT",
"ISSUE",
"sourcecred",
"example-github",
"11",
"420811872",
],
"dstIndex": 23,
"srcIndex": 2,
},
Object {
"address": Array [
"sourcecred",
"github",
"HAS_PARENT",
"6",
"COMMENT",
"ISSUE",
"sourcecred",
"example-github",
"11",
"420813013",
],
"dstIndex": 23,
"srcIndex": 3,
},
Object {
"address": Array [
"sourcecred",
"github",
"HAS_PARENT",
"6",
"COMMENT",
"ISSUE",
"sourcecred",
"example-github",
"11",
"420813206",
],
"dstIndex": 23,
"srcIndex": 4,
},
Object {
"address": Array [
"sourcecred",
"github",
"HAS_PARENT",
"6",
"COMMENT",
"ISSUE",
"sourcecred",
"example-github",
"11",
"420813621",
],
"dstIndex": 23,
"srcIndex": 5,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -746,8 +882,8 @@ Array [
"2", "2",
"373768703", "373768703",
], ],
"dstIndex": 19, "dstIndex": 24,
"srcIndex": 2, "srcIndex": 6,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -762,8 +898,8 @@ Array [
"2", "2",
"373768850", "373768850",
], ],
"dstIndex": 19, "dstIndex": 24,
"srcIndex": 3, "srcIndex": 7,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -778,8 +914,8 @@ Array [
"2", "2",
"385576185", "385576185",
], ],
"dstIndex": 19, "dstIndex": 24,
"srcIndex": 4, "srcIndex": 8,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -794,8 +930,8 @@ Array [
"2", "2",
"385576220", "385576220",
], ],
"dstIndex": 19, "dstIndex": 24,
"srcIndex": 5, "srcIndex": 9,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -810,8 +946,8 @@ Array [
"2", "2",
"385576248", "385576248",
], ],
"dstIndex": 19, "dstIndex": 24,
"srcIndex": 6, "srcIndex": 10,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -826,8 +962,8 @@ Array [
"2", "2",
"385576273", "385576273",
], ],
"dstIndex": 19, "dstIndex": 24,
"srcIndex": 7, "srcIndex": 11,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -842,8 +978,8 @@ Array [
"2", "2",
"385576920", "385576920",
], ],
"dstIndex": 19, "dstIndex": 24,
"srcIndex": 8, "srcIndex": 12,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -858,8 +994,8 @@ Array [
"2", "2",
"385576936", "385576936",
], ],
"dstIndex": 19, "dstIndex": 24,
"srcIndex": 9, "srcIndex": 13,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -874,8 +1010,8 @@ Array [
"6", "6",
"373768442", "373768442",
], ],
"dstIndex": 21, "dstIndex": 26,
"srcIndex": 10, "srcIndex": 14,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -890,8 +1026,8 @@ Array [
"6", "6",
"373768538", "373768538",
], ],
"dstIndex": 21, "dstIndex": 26,
"srcIndex": 11, "srcIndex": 15,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -906,8 +1042,8 @@ Array [
"6", "6",
"385223316", "385223316",
], ],
"dstIndex": 21, "dstIndex": 26,
"srcIndex": 12, "srcIndex": 16,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -922,8 +1058,8 @@ Array [
"6", "6",
"417104047", "417104047",
], ],
"dstIndex": 21, "dstIndex": 26,
"srcIndex": 13, "srcIndex": 17,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -938,8 +1074,8 @@ Array [
"3", "3",
"369162222", "369162222",
], ],
"dstIndex": 24, "dstIndex": 29,
"srcIndex": 14, "srcIndex": 18,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -954,8 +1090,8 @@ Array [
"5", "5",
"396430464", "396430464",
], ],
"dstIndex": 25, "dstIndex": 30,
"srcIndex": 15, "srcIndex": 19,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -971,8 +1107,8 @@ Array [
"100313899", "100313899",
"171460198", "171460198",
], ],
"dstIndex": 28, "dstIndex": 33,
"srcIndex": 16, "srcIndex": 20,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -996,8 +1132,8 @@ Array [
"USER", "USER",
"wchargin", "wchargin",
], ],
"dstIndex": 15, "dstIndex": 19,
"srcIndex": 25, "srcIndex": 30,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -1011,7 +1147,7 @@ Array [
"3", "3",
], ],
"dstIndex": 0, "dstIndex": 0,
"srcIndex": 24, "srcIndex": 29,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -1025,7 +1161,7 @@ Array [
"5", "5",
], ],
"dstIndex": 1, "dstIndex": 1,
"srcIndex": 25, "srcIndex": 30,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -1043,8 +1179,8 @@ Array [
"example-github", "example-github",
"10", "10",
], ],
"dstIndex": 18, "dstIndex": 22,
"srcIndex": 18, "srcIndex": 22,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -1062,8 +1198,8 @@ Array [
"example-github", "example-github",
"2", "2",
], ],
"dstIndex": 19, "dstIndex": 24,
"srcIndex": 18, "srcIndex": 22,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -1081,8 +1217,8 @@ Array [
"example-github", "example-github",
"1", "1",
], ],
"dstIndex": 17, "dstIndex": 21,
"srcIndex": 19, "srcIndex": 24,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -1099,8 +1235,8 @@ Array [
"USER", "USER",
"wchargin", "wchargin",
], ],
"dstIndex": 32, "dstIndex": 37,
"srcIndex": 25, "srcIndex": 30,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -1120,8 +1256,8 @@ Array [
"example-github", "example-github",
"6", "6",
], ],
"dstIndex": 21, "dstIndex": 26,
"srcIndex": 2, "srcIndex": 6,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -1143,8 +1279,8 @@ Array [
"6", "6",
"373768538", "373768538",
], ],
"dstIndex": 11, "dstIndex": 15,
"srcIndex": 3, "srcIndex": 7,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -1164,8 +1300,8 @@ Array [
"example-github", "example-github",
"5", "5",
], ],
"dstIndex": 25, "dstIndex": 30,
"srcIndex": 4, "srcIndex": 8,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -1186,8 +1322,8 @@ Array [
"5", "5",
"100313899", "100313899",
], ],
"dstIndex": 28, "dstIndex": 33,
"srcIndex": 5, "srcIndex": 9,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -1210,8 +1346,8 @@ Array [
"100313899", "100313899",
"171460198", "171460198",
], ],
"dstIndex": 16, "dstIndex": 20,
"srcIndex": 6, "srcIndex": 10,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -1230,8 +1366,8 @@ Array [
"USER", "USER",
"wchargin", "wchargin",
], ],
"dstIndex": 32, "dstIndex": 37,
"srcIndex": 7, "srcIndex": 11,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -1251,8 +1387,8 @@ Array [
"example-github", "example-github",
"1", "1",
], ],
"dstIndex": 17, "dstIndex": 21,
"srcIndex": 8, "srcIndex": 12,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -1272,8 +1408,8 @@ Array [
"example-github", "example-github",
"2", "2",
], ],
"dstIndex": 19, "dstIndex": 24,
"srcIndex": 8, "srcIndex": 12,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -1293,8 +1429,8 @@ Array [
"example-github", "example-github",
"3", "3",
], ],
"dstIndex": 24, "dstIndex": 29,
"srcIndex": 8, "srcIndex": 12,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -1315,8 +1451,8 @@ Array [
"5", "5",
"100313899", "100313899",
], ],
"dstIndex": 28, "dstIndex": 33,
"srcIndex": 8, "srcIndex": 12,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -1339,8 +1475,8 @@ Array [
"100313899", "100313899",
"171460198", "171460198",
], ],
"dstIndex": 16, "dstIndex": 20,
"srcIndex": 8, "srcIndex": 12,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -1360,8 +1496,8 @@ Array [
"example-github", "example-github",
"2", "2",
], ],
"dstIndex": 19, "dstIndex": 24,
"srcIndex": 12, "srcIndex": 16,
}, },
Object { Object {
"address": Array [ "address": Array [
@ -1381,8 +1517,8 @@ Array [
"example-github", "example-github",
"2", "2",
], ],
"dstIndex": 19, "dstIndex": 24,
"srcIndex": 14, "srcIndex": 18,
}, },
], ],
"nodes": Array [ "nodes": Array [
@ -1398,6 +1534,46 @@ Array [
"COMMIT", "COMMIT",
"6d5b3aa31ebb68a06ceb46bbd6cf49b6ccd6f5e6", "6d5b3aa31ebb68a06ceb46bbd6cf49b6ccd6f5e6",
], ],
Array [
"sourcecred",
"github",
"COMMENT",
"ISSUE",
"sourcecred",
"example-github",
"11",
"420811872",
],
Array [
"sourcecred",
"github",
"COMMENT",
"ISSUE",
"sourcecred",
"example-github",
"11",
"420813013",
],
Array [
"sourcecred",
"github",
"COMMENT",
"ISSUE",
"sourcecred",
"example-github",
"11",
"420813206",
],
Array [
"sourcecred",
"github",
"COMMENT",
"ISSUE",
"sourcecred",
"example-github",
"11",
"420813621",
],
Array [ Array [
"sourcecred", "sourcecred",
"github", "github",
@ -1565,6 +1741,14 @@ Array [
"example-github", "example-github",
"10", "10",
], ],
Array [
"sourcecred",
"github",
"ISSUE",
"sourcecred",
"example-github",
"11",
],
Array [ Array [
"sourcecred", "sourcecred",
"github", "github",

View File

@ -30,7 +30,7 @@ Object {
exports[`plugins/github/graphView issues /#2 number of comments matches snapshot 1`] = `8`; exports[`plugins/github/graphView issues /#2 number of comments matches snapshot 1`] = `8`;
exports[`plugins/github/graphView issues number of issues matches snapshot 1`] = `7`; exports[`plugins/github/graphView issues number of issues matches snapshot 1`] = `8`;
exports[`plugins/github/graphView pulls /#5 /comment #1 matches snapshot 1`] = ` exports[`plugins/github/graphView pulls /#5 /comment #1 matches snapshot 1`] = `
Object { Object {

View File

@ -111,7 +111,7 @@ Array [
] ]
`; `;
exports[`plugins/github/relationalView RelationalView entity: comments has expected number of them 1`] = `15`; exports[`plugins/github/relationalView RelationalView entity: comments has expected number of them 1`] = `19`;
exports[`plugins/github/relationalView RelationalView entity: comments they have expected urls 1`] = ` exports[`plugins/github/relationalView RelationalView entity: comments they have expected urls 1`] = `
Array [ Array [
@ -127,13 +127,17 @@ Array [
"https://github.com/sourcecred/example-github/issues/6#issuecomment-373768538", "https://github.com/sourcecred/example-github/issues/6#issuecomment-373768538",
"https://github.com/sourcecred/example-github/issues/6#issuecomment-385223316", "https://github.com/sourcecred/example-github/issues/6#issuecomment-385223316",
"https://github.com/sourcecred/example-github/issues/6#issuecomment-417104047", "https://github.com/sourcecred/example-github/issues/6#issuecomment-417104047",
"https://github.com/sourcecred/example-github/issues/11#issuecomment-420811872",
"https://github.com/sourcecred/example-github/issues/11#issuecomment-420813013",
"https://github.com/sourcecred/example-github/issues/11#issuecomment-420813206",
"https://github.com/sourcecred/example-github/issues/11#issuecomment-420813621",
"https://github.com/sourcecred/example-github/pull/3#issuecomment-369162222", "https://github.com/sourcecred/example-github/pull/3#issuecomment-369162222",
"https://github.com/sourcecred/example-github/pull/5#issuecomment-396430464", "https://github.com/sourcecred/example-github/pull/5#issuecomment-396430464",
"https://github.com/sourcecred/example-github/pull/5#discussion_r171460198", "https://github.com/sourcecred/example-github/pull/5#discussion_r171460198",
] ]
`; `;
exports[`plugins/github/relationalView RelationalView entity: issues has expected number of them 1`] = `7`; exports[`plugins/github/relationalView RelationalView entity: issues has expected number of them 1`] = `8`;
exports[`plugins/github/relationalView RelationalView entity: issues they have expected urls 1`] = ` exports[`plugins/github/relationalView RelationalView entity: issues they have expected urls 1`] = `
Array [ Array [
@ -144,6 +148,7 @@ Array [
"https://github.com/sourcecred/example-github/issues/7", "https://github.com/sourcecred/example-github/issues/7",
"https://github.com/sourcecred/example-github/issues/8", "https://github.com/sourcecred/example-github/issues/8",
"https://github.com/sourcecred/example-github/issues/10", "https://github.com/sourcecred/example-github/issues/10",
"https://github.com/sourcecred/example-github/issues/11",
] ]
`; `;
@ -190,7 +195,7 @@ exports[`plugins/github/relationalView Repo has owner 1`] = `"sourcecred"`;
exports[`plugins/github/relationalView Repo has url 1`] = `"https://github.com/sourcecred/example-github"`; exports[`plugins/github/relationalView Repo has url 1`] = `"https://github.com/sourcecred/example-github"`;
exports[`plugins/github/relationalView Repo issues has expected number of issues 1`] = `7`; exports[`plugins/github/relationalView Repo issues has expected number of issues 1`] = `8`;
exports[`plugins/github/relationalView Repo issues have expected urls 1`] = ` exports[`plugins/github/relationalView Repo issues have expected urls 1`] = `
Array [ Array [
@ -201,6 +206,7 @@ Array [
"https://github.com/sourcecred/example-github/issues/7", "https://github.com/sourcecred/example-github/issues/7",
"https://github.com/sourcecred/example-github/issues/8", "https://github.com/sourcecred/example-github/issues/8",
"https://github.com/sourcecred/example-github/issues/10", "https://github.com/sourcecred/example-github/issues/10",
"https://github.com/sourcecred/example-github/issues/11",
] ]
`; `;

View File

@ -281,10 +281,65 @@
"number": 10, "number": 10,
"title": "Paired with multireference", "title": "Paired with multireference",
"url": "https://github.com/sourcecred/example-github/issues/10" "url": "https://github.com/sourcecred/example-github/issues/10"
},
{
"author": {
"__typename": "User",
"id": "MDQ6VXNlcjQzMTc4MDY=",
"login": "wchargin",
"url": "https://github.com/wchargin"
},
"body": "@wchargin-ghost002, show yourself.",
"comments": {
"nodes": [
{
"author": null,
"body": "Hello. :ghost: ",
"id": "MDEyOklzc3VlQ29tbWVudDQyMDgxMTg3Mg==",
"url": "https://github.com/sourcecred/example-github/issues/11#issuecomment-420811872"
},
{
"author": {
"__typename": "User",
"id": "MDQ6VXNlcjQzMTc4MDY=",
"login": "wchargin",
"url": "https://github.com/wchargin"
},
"body": "[Here is a screenshot of the thread at this point, prior to account deletion.](https://user-images.githubusercontent.com/4317806/45455614-8c4fe600-b69c-11e8-902e-aec65d7403e6.png)\r\n\r\nThe user has GraphQL ID `MDQ6VXNlcjQzMjIyMTkw` and database ID `43222190`.\r\n\r\nThe previous comment has GraphQL ID `MDEyOklzc3VlQ29tbWVudDQyMDgxMTg3Mg==` and database `420811872`.\r\n",
"id": "MDEyOklzc3VlQ29tbWVudDQyMDgxMzAxMw==",
"url": "https://github.com/sourcecred/example-github/issues/11#issuecomment-420813013"
},
{
"author": null,
"body": "My time in this life draws to a close. :wave: ",
"id": "MDEyOklzc3VlQ29tbWVudDQyMDgxMzIwNg==",
"url": "https://github.com/sourcecred/example-github/issues/11#issuecomment-420813206"
},
{
"author": {
"__typename": "User",
"id": "MDQ6VXNlcjE0MDAwMjM=",
"login": "decentralion",
"url": "https://github.com/decentralion"
},
"body": ":skull: :ghost:\r\nRIP",
"id": "MDEyOklzc3VlQ29tbWVudDQyMDgxMzYyMQ==",
"url": "https://github.com/sourcecred/example-github/issues/11#issuecomment-420813621"
}
],
"pageInfo": {
"endCursor": "Y3Vyc29yOnYyOpHOGRUbNQ==",
"hasNextPage": false
}
},
"id": "MDU6SXNzdWUzNTk2Njc4Mjk=",
"number": 11,
"title": "An issue with a comment from a deleted user",
"url": "https://github.com/sourcecred/example-github/issues/11"
} }
], ],
"pageInfo": { "pageInfo": {
"endCursor": "Y3Vyc29yOnYyOpHOFBerMQ==", "endCursor": "Y3Vyc29yOnYyOpHOFXAYdQ==",
"hasNextPage": false "hasNextPage": false
} }
}, },