Skip to content

Commit 859ee5f

Browse files
committed
fix: set result order in tests
1 parent d54370c commit 859ee5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ for (const host of [
231231
test(`setDefaultResultOrder with ${host}`, async (t) => {
232232
const tangerine = new Tangerine({ cache: false });
233233
for (const dnsOrder of ['verbatim', 'ipv4first']) {
234-
// set it opposite to the version
235234
tangerine.setDefaultResultOrder(dnsOrder);
235+
dns.promises.setDefaultResultOrder(dnsOrder);
236236
for (let i = 0; i < 5; i++) {
237237
// eslint-disable-next-line no-await-in-loop
238238
const [results, dnsResults] = await Promise.all([

0 commit comments

Comments
 (0)