Skip to content

Commit

Permalink
Update faked error
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Sep 19, 2024
1 parent 8da55d9 commit c48e4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/activity-tracker.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ActivityTracker } from "../../src/index";
import { WhoisInfo, PresenceEventContent, MatrixClient, MatrixError } from "@vector-im/matrix-bot-sdk";

function throwMatrixError(statusCode: number) {
throw new MatrixError({errcode: "M_UNKNOWN", error: ""}, statusCode);
throw new MatrixError({errcode: "M_UNKNOWN", error: ""}, statusCode, {});
}

const TEST_USER = "@foobar:example.com";
Expand Down

0 comments on commit c48e4aa

Please sign in to comment.