Skip to content

Commit

Permalink
Use rust crypto instead of legacy crypto in sync tests
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Jan 16, 2025
1 parent bdd4d82 commit bfa5381
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/integ/matrix-client-syncing.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ describe("MatrixClient syncing", () => {
});

it("should emit RoomEvent.MyMembership for invite->leave->invite cycles", async () => {
await client!.initLegacyCrypto();
await client!.initRustCrypto();

const roomId = "!cycles:example.org";

Expand Down Expand Up @@ -234,7 +234,7 @@ describe("MatrixClient syncing", () => {
});

it("should emit RoomEvent.MyMembership for knock->leave->knock cycles", async () => {
await client!.initLegacyCrypto();
await client!.initRustCrypto();

const roomId = "!cycles:example.org";

Expand Down Expand Up @@ -2580,7 +2580,7 @@ describe("MatrixClient syncing (IndexedDB version)", () => {
idbHttpBackend.when("GET", "/pushrules/").respond(200, {});
idbHttpBackend.when("POST", "/filter").respond(200, { filter_id: "a filter id" });

await idbClient.initLegacyCrypto();
await idbClient.initRustCrypto();

const roomId = "!invite:example.org";

Expand Down

0 comments on commit bfa5381

Please sign in to comment.