Skip to content

Commit

Permalink
Drop ipv4first line in code
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Nov 1, 2023
1 parent 04f0265 commit 662b9b1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions spec/util/e2e-test.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
import { ComplementHomeServer, createHS, destroyHS } from "./homerunner";
import { MatrixClient, PowerLevelsEventContent, RoomEvent, TextualMessageEventContent } from "matrix-bot-sdk";
import dns from 'node:dns';
import { mkdtemp, rm, writeFile } from "node:fs/promises";
import { mkdtemp, rm } from "node:fs/promises";
import { IConfig } from "../../src/config";
import { ConferenceBot } from "../../src/index";
import path from "node:path";
import { JSONSchedule } from "../../src/backends/json/jsontypes/JsonSchedule.schema";

// Needed to make tests work on GitHub actions. Node 17+ defaults
// to IPv6, and the homerunner domain resolves to IPv6, but the
// runtime doesn't actually support IPv6 🤦
dns.setDefaultResultOrder('ipv4first');

const WAIT_EVENT_TIMEOUT = 10000;
export const E2ESetupTestTimeout = 60000;
Expand Down

0 comments on commit 662b9b1

Please sign in to comment.