Add ESLint Jest (#10261)
This commit is contained in:
parent
db7748b743
commit
5398db21ad
55 changed files with 336 additions and 351 deletions
|
@ -51,7 +51,7 @@ describe("isRoomReady", () => {
|
|||
mocked(client.getRoom).mockReturnValue(null);
|
||||
});
|
||||
|
||||
it("it should return false", () => {
|
||||
it("should return false", () => {
|
||||
expect(isRoomReady(client, localRoom)).toBe(false);
|
||||
});
|
||||
|
||||
|
@ -63,7 +63,7 @@ describe("isRoomReady", () => {
|
|||
});
|
||||
});
|
||||
|
||||
it("it should return false", () => {
|
||||
it("should return false", () => {
|
||||
expect(isRoomReady(client, localRoom)).toBe(false);
|
||||
});
|
||||
|
||||
|
@ -75,7 +75,7 @@ describe("isRoomReady", () => {
|
|||
]);
|
||||
});
|
||||
|
||||
it("it should return false", () => {
|
||||
it("should return false", () => {
|
||||
expect(isRoomReady(client, localRoom)).toBe(false);
|
||||
});
|
||||
|
||||
|
@ -92,7 +92,7 @@ describe("isRoomReady", () => {
|
|||
]);
|
||||
});
|
||||
|
||||
it("it should return true", () => {
|
||||
it("should return true", () => {
|
||||
expect(isRoomReady(client, localRoom)).toBe(true);
|
||||
});
|
||||
|
||||
|
@ -101,7 +101,7 @@ describe("isRoomReady", () => {
|
|||
localRoom.encrypted = true;
|
||||
});
|
||||
|
||||
it("it should return false", () => {
|
||||
it("should return false", () => {
|
||||
expect(isRoomReady(client, localRoom)).toBe(false);
|
||||
});
|
||||
|
||||
|
@ -118,7 +118,7 @@ describe("isRoomReady", () => {
|
|||
]);
|
||||
});
|
||||
|
||||
it("it should return true", () => {
|
||||
it("should return true", () => {
|
||||
expect(isRoomReady(client, localRoom)).toBe(true);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue