Skip to content

Commit 3470a43

Browse files
committed
Exclude misc unused functions from coverage
1 parent 83d550c commit 3470a43

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

src/lib/download.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export function unzipAndDelete(zipPath, destFolder) {
159159
return entries;
160160
}
161161

162-
162+
/* c8 ignore start */
163163
/**
164164
* @internal
165165
* @param {string} url
@@ -221,7 +221,7 @@ export async function zipAll(archiveFile, workingDir) {
221221
'*',
222222
]);
223223
}
224-
224+
/* c8 ignore stop */
225225

226226

227227
/** @internal */

src/lib/lines.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ export async function bufferLines(lines) {
8484
return output;
8585
}
8686

87+
/* c8 ignore start */
8788
/**
8889
* @internal
8990
* @param {AsyncGenerator<string, void, void>} lines
@@ -109,3 +110,4 @@ export async function bufferAndErrLines(lines, prefix = '') {
109110
}
110111
return output;
111112
}
113+
/* c8 ignore stop */

src/lib/parse.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ function* parser(input) {
284284

285285
const warnParse = (message, token) => console.error(formatParseError(message, token));
286286

287+
/* c8 ignore start */
287288
/**
288289
* @internal
289290
* @param {string} message
@@ -331,3 +332,5 @@ export function parseDump(input) {
331332
console.log(printToken(token));
332333
}
333334
}
335+
336+
/* c8 ignore stop */

0 commit comments

Comments
 (0)