mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
fix test
This commit is contained in:
parent
84425fad5c
commit
7def542e21
@ -426,7 +426,7 @@ export function tests() {
|
|||||||
function createStorageMock(session, pendingEvents = []) {
|
function createStorageMock(session, pendingEvents = []) {
|
||||||
return {
|
return {
|
||||||
readTxn() {
|
readTxn() {
|
||||||
return Promise.resolve({
|
return {
|
||||||
session: {
|
session: {
|
||||||
get(key) {
|
get(key) {
|
||||||
return Promise.resolve(session[key]);
|
return Promise.resolve(session[key]);
|
||||||
@ -442,7 +442,7 @@ export function tests() {
|
|||||||
return Promise.resolve([]);
|
return Promise.resolve([]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
};
|
||||||
},
|
},
|
||||||
storeNames: {}
|
storeNames: {}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user