Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 176556c

Browse files
author
Alan Shaw
committed
chore: appease linter
License: MIT Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
1 parent 684b2a1 commit 176556c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

test/lib.fetch.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ describe('lib/fetch', () => {
6767
getReader () {
6868
let i = 0
6969
return {
70-
read: async () => {
70+
read () {
7171
return i === inputData.length
7272
? { done: true }
7373
: { value: inputData[i++] }
7474
},
75-
releaseLock: () => {}
75+
releaseLock () {}
7676
}
7777
}
7878
}

test/utils/throws-async.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict'
2+
13
module.exports = async fnOrPromise => {
24
try {
35
await (fnOrPromise.then ? fnOrPromise : fnOrPromise())

0 commit comments

Comments
 (0)