mirror of
https://github.com/oven-sh/bun
synced 2026-02-19 23:31:45 +00:00
Update test-dns-default-order-ipv{4,6}.js
This commit is contained in:
@@ -14,8 +14,6 @@ Bun.dns.lookup = common.mustCallAtLeast((...args) => {
|
||||
const dns = require('dns');
|
||||
const dnsPromises = dns.promises;
|
||||
|
||||
dns.setDefaultResultOrder('ipv4first');
|
||||
|
||||
// We want to test the parameter of order only so that we
|
||||
// ignore possible errors here.
|
||||
function allowFailed(fn) {
|
||||
|
||||
@@ -14,8 +14,6 @@ Bun.dns.lookup = common.mustCallAtLeast((...args) => {
|
||||
const dns = require('dns');
|
||||
const dnsPromises = dns.promises;
|
||||
|
||||
dns.setDefaultResultOrder('ipv6first');
|
||||
|
||||
// We want to test the parameter of verbatim only so that we
|
||||
// ignore possible errors here.
|
||||
function allowFailed(fn) {
|
||||
|
||||
Reference in New Issue
Block a user