Skip to content

Commit 0734905

Browse files
authored
fix: dns-interceptor test should await plan to complete (#4560)
1 parent 756d5d3 commit 0734905

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/interceptors/dns.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ test('Should throw when on dual-stack disabled (4)', async t => {
415415

416416
await t.rejects(promise, 'ECONNREFUSED')
417417

418-
await t.complete
418+
await t.completed
419419
})
420420

421421
test('Should throw when on dual-stack disabled (6)', async t => {
@@ -459,7 +459,7 @@ test('Should throw when on dual-stack disabled (6)', async t => {
459459

460460
await t.rejects(promise, 'ECONNREFUSED')
461461

462-
await t.complete
462+
await t.completed
463463
})
464464

465465
test('Should automatically resolve IPs (dual stack disabled - 4)', async t => {

0 commit comments

Comments
 (0)