Skip to content

Commit 21c1987

Browse files
committed
chore(linting): no-unused-vars
1 parent 3eb4684 commit 21c1987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/dns.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ t.test('does not cache errors', async (t) => {
9797
const { lookup } = getDnsOptions({ ...DEFAULT_OPTS, lookup: fakeLookup })
9898

9999
return new Promise((resolve) => {
100-
lookup('localhost', (err, address, family) => {
100+
lookup('localhost', (err) => {
101101
t.hasStrict(err, { message: 'failed' }, 'got the error')
102102
t.equal(lookupCalled, 1, 'lookup was called once')
103103
resolve()

0 commit comments

Comments
 (0)