Skip to content

Commit

Permalink
test: improve test coverage of dns/promises
Browse files Browse the repository at this point in the history
PR-URL: #41425
Refs: https://coverage.nodejs.org/coverage-0b4e9ae656e93e5f/lib/internal/dns/promises.js.html#L128
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
kuriyosh authored and danielleadams committed Feb 1, 2022
1 parent d5ad2b7 commit 40c0960
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/parallel/test-dns.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ dns.lookup('', {
await dnsPromises.lookup('', {
hints: dns.ADDRCONFIG | dns.V4MAPPED | dns.ALL
});
await dnsPromises.lookup('', { verbatim: true });
})().then(common.mustCall());

{
Expand Down

0 comments on commit 40c0960

Please sign in to comment.