mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
test: improve test coverage of dns/promises
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
d5ad2b7fcd
commit
40c09600fd
1 file changed
+1
@@ -274,6 +274,7 @@ dns.lookup('', {
|
||||
await dnsPromises.lookup('', {
|
||||
hints: dns.ADDRCONFIG | dns.V4MAPPED | dns.ALL
|
||||
});
|
||||
await dnsPromises.lookup('', { verbatim: true });
|
||||
})().then(common.mustCall());
|
||||
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user