fix unit test

This commit is contained in:
Bruno Windels 2023-02-10 11:22:13 +01:00
parent da1b7d4108
commit 83d1ea05a1

View File

@ -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;