Skip to content

Commit 1511bc8

Browse files
chore: enable HTML coverage reports
1 parent 9a06551 commit 1511bc8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

2018/day-14/recipes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const calculateXAfterY = (x, y, recipes) => {
115115
counter = recipes.length
116116
}
117117

118-
// In case multidigit recipe results created more than Y
118+
// In case multidigit recipe results created more than Y
119119
iterator = (recipes.length > y) ? recipes.head.prev : recipes.head
120120

121121
// Add enough recipes to cover X

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
"scripts": {
88
"pretest": "npm run lint",
99
"test": "nyc mocha \"./20*/**/*.test.js\"",
10+
"posttest": "nyc report --reporter=html --reporter=text-lcov > coverage.lcov",
1011
"lint": "standard",
1112
"semantic-release": "semantic-release",
12-
"report-coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov"
13+
"report-coverage": "codecov"
1314
},
1415
"repository": {
1516
"type": "git",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy