forked from OctoLinker/OctoLinker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
9 changed files
with
2,659 additions
and
1,574 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`blob-reader blob 1st line 1`] = ` | ||
Object { | ||
"lineNumber": "1", | ||
"value": "// Most popular rabbit names", | ||
} | ||
`; | ||
|
||
exports[`blob-reader blob 2nd line 1`] = ` | ||
Object { | ||
"lineNumber": "2", | ||
"value": "", | ||
} | ||
`; | ||
|
||
exports[`blob-reader blob 3rd line 1`] = ` | ||
Object { | ||
"lineNumber": "3", | ||
"value": "Thumper", | ||
} | ||
`; | ||
|
||
exports[`blob-reader blob 4th line 1`] = ` | ||
Object { | ||
"lineNumber": "4", | ||
"value": "Daisy", | ||
} | ||
`; | ||
|
||
exports[`blob-reader diff split 1st line 1`] = ` | ||
Object { | ||
"lineNumber": 1, | ||
"value": "// Most popular rabbit names", | ||
} | ||
`; | ||
|
||
exports[`blob-reader diff split additions 1`] = ` | ||
Object { | ||
"addition": true, | ||
"lineNumber": 4, | ||
"value": "Mozart", | ||
} | ||
`; | ||
|
||
exports[`blob-reader diff split deletions 1`] = ` | ||
Object { | ||
"deletion": true, | ||
"lineNumber": 5, | ||
"value": "Lily", | ||
} | ||
`; | ||
|
||
exports[`blob-reader diff unified 1st line 1`] = ` | ||
Object { | ||
"lineNumber": 1, | ||
"value": "// Most popular rabbit names", | ||
} | ||
`; | ||
|
||
exports[`blob-reader diff unified additions 1`] = ` | ||
Object { | ||
"addition": true, | ||
"lineNumber": 4, | ||
"value": "Mozart", | ||
} | ||
`; | ||
|
||
exports[`blob-reader diff unified deletions 1`] = ` | ||
Object { | ||
"deletion": true, | ||
"lineNumber": 5, | ||
"value": "Lily", | ||
} | ||
`; | ||
|
||
exports[`blob-reader issue contains lines 1`] = ` | ||
Array [ | ||
Object { | ||
"lineNumber": 1, | ||
"value": "import os", | ||
}, | ||
] | ||
`; | ||
|
||
exports[`blob-reader returned values object toJSON() returns a JSON representation of the blobs content 1`] = ` | ||
Object { | ||
"foo": "bar", | ||
} | ||
`; | ||
|
||
exports[`blob-reader returned values object toString() returns a string representation of the blobs content 1`] = ` | ||
"a | ||
b" | ||
`; |
437 changes: 268 additions & 169 deletions
437
packages/blob-reader/fixtures/github.com/blob/89f13651df126efdb4f1e3ae40183c9fdccdb4d3.html
Large diffs are not rendered by default.
Oops, something went wrong.
444 changes: 270 additions & 174 deletions
444
...lob-reader/fixtures/github.com/commit/b0775a93ea27ee381858ddd9fa2bb953d5b74acb_split.html
Large diffs are not rendered by default.
Oops, something went wrong.
594 changes: 425 additions & 169 deletions
594
...b-reader/fixtures/github.com/commit/b0775a93ea27ee381858ddd9fa2bb953d5b74acb_unified.html
Large diffs are not rendered by default.
Oops, something went wrong.
361 changes: 178 additions & 183 deletions
361
packages/blob-reader/fixtures/github.com/gist/113827963013e98c6196db51cd889c39.html
Large diffs are not rendered by default.
Oops, something went wrong.
625 changes: 356 additions & 269 deletions
625
packages/blob-reader/fixtures/github.com/issue/code.html
Large diffs are not rendered by default.
Oops, something went wrong.
967 changes: 627 additions & 340 deletions
967
packages/blob-reader/fixtures/github.com/pull/comments.html
Large diffs are not rendered by default.
Oops, something went wrong.
606 changes: 410 additions & 196 deletions
606
packages/blob-reader/fixtures/github.com/pull/diff.html
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters