Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
1,155 additions
and
164 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
exports['gets blame for 1 line of this file 1'] = { | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"type": "object", | ||
"properties": { | ||
"commit": { | ||
"type": "string", | ||
"required": true | ||
}, | ||
"author": { | ||
"type": "string", | ||
"required": true | ||
}, | ||
"committer": { | ||
"type": "string", | ||
"required": true | ||
}, | ||
"summary": { | ||
"type": "string", | ||
"required": true | ||
}, | ||
"filename": { | ||
"type": "string", | ||
"required": true | ||
}, | ||
"line": { | ||
"type": "string", | ||
"required": true | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"list": false, | ||
"example": { | ||
"commit": "b2bf285c40b0c17743d84495b69c51d4c6367089", | ||
"author": "Gleb Bahmutov", | ||
"committer": "Gleb Bahmutov", | ||
"summary": "mock test", | ||
"filename": "spec/blame-spec.js", | ||
"line": "\tconst la = require('lazy-ass')" | ||
} | ||
} | ||
|
||
exports['can grab blame for entire file 1'] = { | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"type": "object", | ||
"properties": { | ||
"commit": { | ||
"type": "string", | ||
"required": true | ||
}, | ||
"author": { | ||
"type": "string", | ||
"required": true | ||
}, | ||
"committer": { | ||
"type": "string", | ||
"required": true | ||
}, | ||
"summary": { | ||
"type": "string", | ||
"required": true | ||
}, | ||
"filename": { | ||
"type": "string", | ||
"required": true | ||
}, | ||
"line": { | ||
"type": "string", | ||
"required": true | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"list": true, | ||
"example": { | ||
"commit": "b2bf285c40b0c17743d84495b69c51d4c6367089", | ||
"author": "Gleb Bahmutov", | ||
"committer": "Gleb Bahmutov", | ||
"summary": "mock test", | ||
"filename": "spec/blame-spec.js", | ||
"line": "\tconst la = require('lazy-ass')" | ||
} | ||
} | ||
|
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,13 @@ | ||
exports['parsing commit numstat regular commit 1'] = { | ||
"commit": "0b3342816ac2db82d051233e884ff93ddb811b17", | ||
"author": "Renovate Bot <bot@renovateapp.com>", | ||
"date": "Sat Dec 22 22:15:32 2018 +0000", | ||
"message": "chore(deps): update dependency mocked-env to v1.2.4" | ||
} | ||
|
||
exports['parsing commit numstat merged commit 1'] = { | ||
"commit": "f2d8d7f2b2de0df9cfc14845d284521eb2513c0c", | ||
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>", | ||
"date": "Fri Aug 9 10:59:17 2019 -0400", | ||
"message": "fix: update lodash" | ||
} |
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,12 @@ | ||
exports['commits all parses given output 1'] = [ | ||
{ | ||
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", | ||
"message": "first commit", | ||
"body": "" | ||
}, | ||
{ | ||
"id": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb", | ||
"message": "second commit", | ||
"body": "" | ||
} | ||
] |
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,21 @@ | ||
exports['one line log parses mock output 1'] = [ | ||
{ | ||
"id": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb", | ||
"message": "commit B" | ||
}, | ||
{ | ||
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", | ||
"message": "commit A" | ||
} | ||
] | ||
|
||
exports['one line log parses mock output with branch name 1'] = [ | ||
{ | ||
"id": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb", | ||
"message": "commit B" | ||
}, | ||
{ | ||
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", | ||
"message": "commit A" | ||
} | ||
] |
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,21 @@ | ||
exports['grabs last 5 commits schema 1'] = { | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"type": "string", | ||
"required": true | ||
}, | ||
"message": { | ||
"type": "string", | ||
"required": true | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"list": true, | ||
"example": { | ||
"id": "f2d8d7f2b2de0df9cfc14845d284521eb2513c0c", | ||
"message": "fix: update lodash" | ||
} | ||
} | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Oops, something went wrong.