You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-07-30 04:23:07 +03:00
Factor SyncApi
options out of IStoredClientOptions
(#3009)
There are a couple of callback interfaces which are currently stuffed into `IStoredClientOpts` to make it easier to pass them into the `SyncApi` constructor. Before we add more fields to this, let's separate it out to a separate object.
This commit is contained in:
committed by
GitHub
parent
e9fef19c8f
commit
9b372d23ca
@ -35,9 +35,7 @@ describe("MatrixClient", function () {
|
||||
let store: MemoryStore | undefined;
|
||||
|
||||
const defaultClientOpts: IStoredClientOpts = {
|
||||
canResetEntireTimeline: (roomId) => false,
|
||||
experimentalThreadSupport: false,
|
||||
crypto: {} as unknown as IStoredClientOpts["crypto"],
|
||||
};
|
||||
const setupTests = (): [MatrixClient, HttpBackend, MemoryStore] => {
|
||||
const store = new MemoryStore();
|
||||
|
Reference in New Issue
Block a user