mirror of https://github.com/vector-im/riot-web
Import the cryptostore from the right place
parent
e37da08730
commit
84439cff86
|
@ -38,6 +38,7 @@ import {ValidatedServerConfig} from "matrix-react-sdk/src/utils/AutoDiscoveryUti
|
||||||
import {sleep} from "../test-utils";
|
import {sleep} from "../test-utils";
|
||||||
import "fake-indexeddb/auto";
|
import "fake-indexeddb/auto";
|
||||||
import {cleanLocalstorage} from "../test-utils";
|
import {cleanLocalstorage} from "../test-utils";
|
||||||
|
import {IndexedDBCryptoStore} from "matrix-js-sdk/src/crypto/store/indexeddb-crypto-store";
|
||||||
|
|
||||||
const DEFAULT_HS_URL='http://my_server';
|
const DEFAULT_HS_URL='http://my_server';
|
||||||
const DEFAULT_IS_URL='http://my_is';
|
const DEFAULT_IS_URL='http://my_is';
|
||||||
|
@ -305,7 +306,7 @@ describe('loading:', function() {
|
||||||
localStorage.setItem("mx_last_room_id", "!last_room:id");
|
localStorage.setItem("mx_last_room_id", "!last_room:id");
|
||||||
|
|
||||||
// Create a crypto store as well to satisfy storage consistency checks
|
// Create a crypto store as well to satisfy storage consistency checks
|
||||||
const cryptoStore = new jssdk.IndexedDBCryptoStore(
|
const cryptoStore = new IndexedDBCryptoStore(
|
||||||
indexedDB,
|
indexedDB,
|
||||||
"matrix-js-sdk:crypto",
|
"matrix-js-sdk:crypto",
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue