Add ESLint Jest (#10261)

This commit is contained in:
Michael Weimann 2023-03-01 16:23:35 +01:00 committed by GitHub
parent db7748b743
commit 5398db21ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
55 changed files with 336 additions and 351 deletions

View file

@ -269,7 +269,7 @@ describe("VoiceBroadcastRecording", () => {
it("should raise an error when creating a broadcast", () => {
expect(() => {
setUpVoiceBroadcastRecording();
}).toThrowError("Cannot create broadcast for info event without Id.");
}).toThrow("Cannot create broadcast for info event without Id.");
});
});
@ -285,7 +285,7 @@ describe("VoiceBroadcastRecording", () => {
it("should raise an error when creating a broadcast", () => {
expect(() => {
setUpVoiceBroadcastRecording();
}).toThrowError(`Cannot create broadcast for unknown room (info event ${infoEvent.getId()})`);
}).toThrow(`Cannot create broadcast for unknown room (info event ${infoEvent.getId()})`);
});
});