From c48e4aaab3174fa7dbb078e011454fceb38cc756 Mon Sep 17 00:00:00 2001 From: Will Hunt Date: Thu, 19 Sep 2024 13:41:15 +0100 Subject: [PATCH] Update faked error --- spec/unit/activity-tracker.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit/activity-tracker.spec.ts b/spec/unit/activity-tracker.spec.ts index 921e6814..35fbc697 100644 --- a/spec/unit/activity-tracker.spec.ts +++ b/spec/unit/activity-tracker.spec.ts @@ -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";