Skip to content

Commit 84439cf

Browse files
committed
Import the cryptostore from the right place
1 parent e37da08 commit 84439cf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎test/app-tests/loading-test.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import {ValidatedServerConfig} from "matrix-react-sdk/src/utils/AutoDiscoveryUti
3838
import {sleep} from "../test-utils";
3939
import "fake-indexeddb/auto";
4040
import {cleanLocalstorage} from "../test-utils";
41+
import {IndexedDBCryptoStore} from "matrix-js-sdk/src/crypto/store/indexeddb-crypto-store";
4142

4243
const DEFAULT_HS_URL='http://my_server';
4344
const DEFAULT_IS_URL='http://my_is';
@@ -305,7 +306,7 @@ describe('loading:', function() {
305306
localStorage.setItem("mx_last_room_id", "!last_room:id");
306307

307308
// Create a crypto store as well to satisfy storage consistency checks
308-
const cryptoStore = new jssdk.IndexedDBCryptoStore(
309+
const cryptoStore = new IndexedDBCryptoStore(
309310
indexedDB,
310311
"matrix-js-sdk:crypto",
311312
);

0 commit comments

Comments
 (0)