Skip to content

Commit

Permalink
Use import
Browse files Browse the repository at this point in the history
  • Loading branch information
kapouer authored Dec 1, 2023
1 parent a0c7120 commit ddc1391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-dns-resolveany-bad-ancount.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const dnsPromises = dns.promises;

const server = dgram.createSocket('udp4');
const rdns = new dns.Resolver({ timeout: 3000, retry: 1 });
const rdnsPromises = new dns.promises.Resolver({ timeout: 3000, retry: 1 });
const rdnsPromises = new dnsPromises.Resolver({ timeout: 3000, retry: 1 });

server.on('message', common.mustCall((msg, { address, port }) => {
const parsed = dnstools.parseDNSPacket(msg);
Expand Down

0 comments on commit ddc1391

Please sign in to comment.