Skip to content

Commit

Permalink
Cleanup a few imports from other tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Oct 22, 2024
1 parent e772122 commit 3064e27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions test/integration/protectedRoomsConfigTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ import { MatrixSendClient } from "../../src/MatrixEmitter";
import { Mjolnir } from "../../src/Mjolnir";
import PolicyList from "../../src/models/PolicyList";
import { newTestUser } from "./clientHelper";
import { createBanList, getFirstReaction } from "./commands/commandUtils";
import { createBanList } from "./commands/commandUtils";

async function createPolicyList(client: MatrixClient): Promise<PolicyList> {
const serverName = new UserID(await client.getUserId()).domain;
const policyListId = await client.createRoom({ preset: "public_chat" });
return new PolicyList(policyListId, Permalinks.forRoom(policyListId), client);
}
Expand Down
5 changes: 1 addition & 4 deletions test/integration/standardConsequenceTest.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { strict as assert } from "assert";

import { Mjolnir } from "../../src/Mjolnir";
import { Protection } from "../../src/protections/IProtection";
import { newTestUser, noticeListener } from "./clientHelper";
import { matrixClient, mjolnir } from "./mjolnirSetupUtils";
import { newTestUser } from "./clientHelper";
import { ConsequenceBan, ConsequenceRedact } from "../../src/protections/consequence";

describe("Test: standard consequences", function () {
Expand Down

0 comments on commit 3064e27

Please sign in to comment.