Skip to content

Commit facc07d

Browse files
committed
Fix code coverage
1 parent 3c82678 commit facc07d

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

base-node/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ export class BaseNode {
308308
let maxAdded = 0
309309
await this.log.each({ order: 'added' }, (action, meta) => {
310310
if (meta.added <= lastSynced) return false
311+
/* c8 ignore next */
311312
if (!this.syncFilter(action, meta)) return undefined
312313
if (this.options.onSend) {
313314
promises.push(

each-store-check/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ async function all(request, list) {
4444
if (!list) list = []
4545
let page = await request
4646
list = page.entries.concat(list)
47+
/* c8 ignore next */
4748
return page.next ? all(page.next(), list) : list
4849
}
4950

ws-connection/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ export class WsConnection {
88
this.Class = Class
99
} else if (typeof WebSocket !== 'undefined') {
1010
this.Class = WebSocket
11+
/* c8 ignore next 3 */
1112
} else {
12-
/* c8 ignore next 2 */
1313
throw new Error('No WebSocket support')
1414
}
1515
this.url = url

0 commit comments

Comments
 (0)