Skip to content

Commit

Permalink
test(dns): make sure localhost is resolved correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinse12 committed Feb 17, 2024
1 parent dbe6db0 commit c30f086
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/cli/daemon.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import chai from "chai";
import { directory as randomDirectory } from "tempy";
import WebSocket from "ws";
import { path as ipfsExePathFunc } from "kubo";
import dns from "node:dns";
dns.setDefaultResultOrder("ipv4first"); // to be able to resolve localhost


//@ts-ignore
import chaiAsPromised from "chai-as-promised";
Expand Down

0 comments on commit c30f086

Please sign in to comment.