strip trailing line breaks on code coverage report
This commit is contained in:
parent
cc33e4d694
commit
172f0c5994
|
@ -2,15 +2,15 @@
|
||||||
> rhizome-node@1.0.0 test
|
> rhizome-node@1.0.0 test
|
||||||
> jest --coverage
|
> jest --coverage
|
||||||
|
|
||||||
|
PASS __tests__/lossy.ts
|
||||||
PASS __tests__/peer-address.ts
|
PASS __tests__/peer-address.ts
|
||||||
PASS __tests__/lossless.ts
|
PASS __tests__/lossless.ts
|
||||||
PASS __tests__/lossy.ts
|
|
||||||
PASS __tests__/run/001-single-node.ts
|
PASS __tests__/run/001-single-node.ts
|
||||||
PASS __tests__/run/002-two-nodes.ts
|
PASS __tests__/run/002-two-nodes.ts
|
||||||
----------------------|---------|----------|---------|---------|------------------------------------------------
|
----------------------|---------|----------|---------|---------|------------------------------------------------
|
||||||
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
|
||||||
----------------------|---------|----------|---------|---------|------------------------------------------------
|
----------------------|---------|----------|---------|---------|------------------------------------------------
|
||||||
All files | 86.75 | 61.97 | 83.58 | 87.26 |
|
All files | 85.48 | 61.26 | 82.83 | 85.93 |
|
||||||
src | 88.35 | 68.06 | 84.21 | 88.52 |
|
src | 88.35 | 68.06 | 84.21 | 88.52 |
|
||||||
collection.ts | 89.61 | 71.42 | 73.33 | 91.89 | 62-65,114-122
|
collection.ts | 89.61 | 71.42 | 73.33 | 91.89 | 62-65,114-122
|
||||||
config.ts | 94.44 | 89.65 | 50 | 94.44 | 22
|
config.ts | 94.44 | 89.65 | 50 | 94.44 | 22
|
||||||
|
@ -25,8 +25,8 @@ All files | 86.75 | 61.97 | 83.58 | 87.26 |
|
||||||
request-reply.ts | 95.65 | 0 | 100 | 95.34 | 46,59
|
request-reply.ts | 95.65 | 0 | 100 | 95.34 | 46,59
|
||||||
typed-collection.ts | 100 | 100 | 100 | 100 |
|
typed-collection.ts | 100 | 100 | 100 | 100 |
|
||||||
types.ts | 100 | 100 | 100 | 100 |
|
types.ts | 100 | 100 | 100 | 100 |
|
||||||
src/util | 70.68 | 30.43 | 77.77 | 73.58 |
|
src/util | 58.62 | 26.08 | 72.22 | 60.37 |
|
||||||
md-files.ts | 70.68 | 30.43 | 77.77 | 73.58 | 53-57,74-77,98-102,116-123
|
md-files.ts | 58.62 | 26.08 | 72.22 | 60.37 | 53-57,74-77,91-108,116-123
|
||||||
util | 100 | 100 | 100 | 100 |
|
util | 100 | 100 | 100 | 100 |
|
||||||
app.ts | 100 | 100 | 100 | 100 |
|
app.ts | 100 | 100 | 100 | 100 |
|
||||||
----------------------|---------|----------|---------|---------|------------------------------------------------
|
----------------------|---------|----------|---------|---------|------------------------------------------------
|
||||||
|
@ -34,5 +34,5 @@ All files | 86.75 | 61.97 | 83.58 | 87.26 |
|
||||||
Test Suites: 5 passed, 5 total
|
Test Suites: 5 passed, 5 total
|
||||||
Tests: 7 passed, 7 total
|
Tests: 7 passed, 7 total
|
||||||
Snapshots: 0 total
|
Snapshots: 0 total
|
||||||
Time: 3.835 s, estimated 5 s
|
Time: 3.831 s, estimated 4 s
|
||||||
Ran all test suites.
|
Ran all test suites.
|
||||||
|
|
|
@ -13,4 +13,4 @@ done
|
||||||
|
|
||||||
dest="./markdown/coverage_report.md"
|
dest="./markdown/coverage_report.md"
|
||||||
|
|
||||||
npm run test -- --coverage 2>&1 | tee "$dest"
|
npm run test -- --coverage 2>&1 | tee | sed 's/\s*$//' > "$dest"
|
||||||
|
|
Loading…
Reference in New Issue