Fix js-sdk types (#8588)

This commit is contained in:
Michael Telatynski 2022-05-13 20:13:21 +01:00 committed by GitHub
parent 1fc8009109
commit 6453530993
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 7 deletions

View file

@ -79,7 +79,7 @@ describe("RoomNotifs test", () => {
rule_id: "!roomId:server",
enabled: true,
default: false,
actions: [{ set_tweak: TweakName.Sound }],
actions: [{ set_tweak: TweakName.Sound, value: "default" }],
});
expect(getRoomNotifsState("!roomId:server")).toBe(RoomNotifState.AllMessagesLoud);
});