fix test
This commit is contained in:
parent
84425fad5c
commit
7def542e21
1 changed files with 2 additions and 2 deletions
|
@ -426,7 +426,7 @@ export function tests() {
|
|||
function createStorageMock(session, pendingEvents = []) {
|
||||
return {
|
||||
readTxn() {
|
||||
return Promise.resolve({
|
||||
return {
|
||||
session: {
|
||||
get(key) {
|
||||
return Promise.resolve(session[key]);
|
||||
|
@ -442,7 +442,7 @@ export function tests() {
|
|||
return Promise.resolve([]);
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
},
|
||||
storeNames: {}
|
||||
};
|
||||
|
|
Reference in a new issue