1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-07-30 04:23:07 +03:00

Appease the linter

This commit is contained in:
Travis Ralston
2021-09-25 20:47:59 -06:00
parent 82a254b7bd
commit eab0c54663
3 changed files with 6 additions and 6 deletions

View File

@ -247,7 +247,7 @@ describe("MSC3089Branch", () => {
const fileContents = "contents go here";
const canaryContents = Uint8Array.from(Array.from(fileContents).map((_, i) => fileContents.charCodeAt(i)));
const canaryFile = {} as IEncryptedFile;
const canaryAddl = {canary: true};
const canaryAddl = { canary: true };
indexEvent.getContent = () => ({ active: true, retained: true });
const stateKeyOrder = [fileEventId2, fileEventId];
const stateFn = jest.fn()
@ -316,7 +316,7 @@ describe("MSC3089Branch", () => {
replacingEventId: () => null,
getId: () => "$unknown",
}];
staticRoom.getLiveTimeline = () => ({getEvents: () => events}) as EventTimeline;
staticRoom.getLiveTimeline = () => ({ getEvents: () => events }) as EventTimeline;
directory.getFile = (evId: string) => {
expect(evId).toEqual(fileEventId);