This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,6 @@ module.exports = {
120
120
"!matrix-js-sdk/src/extensible_events_v1/InvalidEventError" ,
121
121
"!matrix-js-sdk/src/crypto" ,
122
122
"!matrix-js-sdk/src/crypto/aes" ,
123
- "!matrix-js-sdk/src/crypto/crypto" ,
124
123
"!matrix-js-sdk/src/crypto/keybackup" ,
125
124
"!matrix-js-sdk/src/crypto/deviceinfo" ,
126
125
"!matrix-js-sdk/src/crypto/key_passphrase" ,
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import { Crypto } from "@peculiar/webcrypto";
18
18
import { logger } from "matrix-js-sdk/src/logger" ;
19
19
import * as MatrixJs from "matrix-js-sdk/src/matrix" ;
20
20
import { decodeBase64 , encodeUnpaddedBase64 } from "matrix-js-sdk/src/matrix" ;
21
- import { setCrypto } from "matrix-js-sdk/src/crypto/crypto" ;
22
21
import * as MatrixCryptoAes from "matrix-js-sdk/src/crypto/aes" ;
23
22
import { mocked , MockedObject } from "jest-mock" ;
24
23
import fetchMock from "fetch-mock-jest" ;
@@ -79,7 +78,6 @@ describe("Lifecycle", () => {
79
78
delete global . localStorage ;
80
79
global . localStorage = realLocalStorage ;
81
80
82
- setCrypto ( webCrypto ) ;
83
81
// @ts -ignore mocking
84
82
delete window . crypto ;
85
83
window . crypto = webCrypto ;
@@ -88,8 +86,6 @@ describe("Lifecycle", () => {
88
86
} ) ;
89
87
90
88
afterAll ( ( ) => {
91
- setCrypto ( windowCrypto ) ;
92
-
93
89
// @ts -ignore unmocking
94
90
delete window . crypto ;
95
91
window . crypto = windowCrypto ;
You can’t perform that action at this time.
0 commit comments