Skip to content

Commit fc50bb6

Browse files
committed
lint fix
1 parent 7549add commit fc50bb6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,8 @@ function get(url, options) {
459459
}
460460

461461
test('client/doh', async() => {
462-
const timeout = new Promise((_, reject) =>
463-
setTimeout(() => reject(new Error('DOH client timed out after 10s')), 10000).unref()
462+
const timeout = new Promise((resolve, reject) =>
463+
setTimeout(() => reject(new Error('DOH client timed out after 10s')), 10000).unref(),
464464
);
465465
const res = await Promise.race([
466466
DOHClient({ dns: 'https://1.0.0.1/dns-query' })('cdnjs.com', 'NS'),

0 commit comments

Comments
 (0)