Skip to content

Commit 5c2e934

Browse files
committed
Lint
1 parent 1ce332f commit 5c2e934

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

spec/unit/matrix-client.spec.ts

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -731,21 +731,20 @@ describe("MatrixClient", function () {
731731
unstableFeatures["org.matrix.msc4140"] = false;
732732
const errorMessage = "Server does not support the Futures API";
733733

734-
await expect(client._unstable_sendFuture(
735-
roomId,
736-
timeoutFutureOpts,
737-
null,
738-
EventType.RoomMessage,
739-
{ ...content },
740-
client.makeTxnId(),
741-
)).rejects.toThrow(errorMessage);
742-
743-
await expect(client._unstable_sendStateFuture(
744-
roomId,
745-
timeoutFutureOpts,
746-
EventType.RoomTopic,
747-
{ topic: "topic" },
748-
)).rejects.toThrow(errorMessage);
734+
await expect(
735+
client._unstable_sendFuture(
736+
roomId,
737+
timeoutFutureOpts,
738+
null,
739+
EventType.RoomMessage,
740+
{ ...content },
741+
client.makeTxnId(),
742+
),
743+
).rejects.toThrow(errorMessage);
744+
745+
await expect(
746+
client._unstable_sendStateFuture(roomId, timeoutFutureOpts, EventType.RoomTopic, { topic: "topic" }),
747+
).rejects.toThrow(errorMessage);
749748

750749
await expect(client._unstable_getFutures()).rejects.toThrow(errorMessage);
751750

@@ -1019,7 +1018,7 @@ describe("MatrixClient", function () {
10191018
prefix: unstableMSC4140Prefix,
10201019
path: "/future",
10211020
data: [],
1022-
}
1021+
},
10231022
];
10241023

10251024
await client._unstable_getFutures();
@@ -1033,7 +1032,7 @@ describe("MatrixClient", function () {
10331032
prefix: unstableMSC4140Prefix,
10341033
path: `/future/${futureToken}`,
10351034
data: {},
1036-
}
1035+
},
10371036
];
10381037

10391038
await client._unstable_updateFutureWithToken(futureToken);

0 commit comments

Comments
 (0)