mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-02-02 07:31:38 +01:00
fix unit test
This commit is contained in:
parent
da1b7d4108
commit
83d1ea05a1
@ -1015,6 +1015,7 @@ export class Session {
|
||||
}
|
||||
}
|
||||
|
||||
import {FeatureSet} from "../features";
|
||||
export function tests() {
|
||||
function createStorageMock(session, pendingEvents = []) {
|
||||
return {
|
||||
@ -1058,7 +1059,8 @@ export function tests() {
|
||||
clock: {
|
||||
createTimeout: () => undefined
|
||||
}
|
||||
}
|
||||
},
|
||||
features: new FeatureSet(0)
|
||||
});
|
||||
await session.load();
|
||||
let syncSet = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user