Content-Length: 259979 | pFad | https://github.com/npm/agent/commit/21c19874834fb00c7ab37268b385fb84deb2df04

47 chore(linting): no-unused-vars · npm/agent@21c1987 · GitHub
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

Lines changed: 1 addition & 1 deletion
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/npm/agent/commit/21c19874834fb00c7ab37268b385fb84deb2df04

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy