We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a2cfcc commit 116f6ebCopy full SHA for 116f6eb
test/parallel/test-dns-lookup.js
@@ -97,21 +97,6 @@ common.expectsError(() => {
97
});
98
assert.deepStrictEqual(res, { address: '127.0.0.1', family: 4 });
99
100
- res = await dnsPromises.lookup(addresses.INET4_HOST, {
101
- hints: 0,
102
- family: 4,
103
- all: false
104
- });
105
- assert.strictEqual(res.family, 4);
106
-
107
108
109
110
- all: true
111
112
- assert.ok(res.length > 0);
113
- res.forEach((obj) => { assert.strictEqual(obj.family, 4); });
114
115
assert.rejects(
116
dnsPromises.lookup(addresses.INVALID_HOST, {
117
hints: 0,
0 commit comments