mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-02-02 15:41:41 +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() {
|
export function tests() {
|
||||||
function createStorageMock(session, pendingEvents = []) {
|
function createStorageMock(session, pendingEvents = []) {
|
||||||
return {
|
return {
|
||||||
@ -1058,7 +1059,8 @@ export function tests() {
|
|||||||
clock: {
|
clock: {
|
||||||
createTimeout: () => undefined
|
createTimeout: () => undefined
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
features: new FeatureSet(0)
|
||||||
});
|
});
|
||||||
await session.load();
|
await session.load();
|
||||||
let syncSet = false;
|
let syncSet = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user