github
953 of 1015 branches covered (0.0%)
1118 of 1136 new or added lines in 24 files covered. (98.42%)
1 existing line in 1 file now uncovered.4076 of 4314 relevant lines covered (94.48%)
76114.36 hits per line
1 |
export const breakingHeaderPattern = /^(\w*)(?:\((.*)\))?!: (.*)$/ |
3✔ |
2 |
|
3✔ |
3 |
export function addBangNotes (commit) { |
|
4 |
const match = commit.header.match(breakingHeaderPattern) |
732✔ |
5 |
if (match && commit.notes.length === 0) { |
|
6 |
const noteText = match[3] // the description of the change. |
× |
NEW
|
|
× |
NEW
|
return [
|
× |
NEW
|
{ |
× |
NEW
|
text: noteText
|
× |
NEW
|
} |
× |
NEW
|
] |
× |
UNCOV
13
|
} |
× |
|
|
732✔ |
|
return commit.notes
|
732✔ |
16 |
} |
732✔ |