mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
Add mock for new client method
This commit is contained in:
parent
f9f10de0da
commit
454df8947b
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ export function createTestClient() {
|
||||||
getItem: jest.fn(),
|
getItem: jest.fn(),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
decryptEventIfNeeded: () => Promise.resolve(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue