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:
Yoshiki Kurihara authored and Danielle Adams committed 2022-01-31 23:56:34 -05:00
1 parent d5ad2b7fcd
commit 40c09600fd
1 file changed
+1
+1
View File
@@ -274,6 +274,7 @@ dns.lookup('', {
await dnsPromises.lookup('', {
hints: dns.ADDRCONFIG | dns.V4MAPPED | dns.ALL
});
await dnsPromises.lookup('', { verbatim: true });
})().then(common.mustCall());
{