1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-07-30 04:23:07 +03:00

Test: stop loading Olm into global namespace (#4895)

* Test: stop loading Olm into global namespace

Now that the js-sdk no longer relies on libolm, there is no need to populate
`globalThis.Olm`. Remove the code that did so (or relied on it being done).

* fix lint
This commit is contained in:
Richard van der Hoff
2025-07-02 15:48:45 +01:00
committed by GitHub
parent 161c12f5d5
commit 940d358b0e
6 changed files with 8 additions and 51 deletions

View File

@ -1,6 +1,3 @@
// load olm before the sdk if possible
import "../olm-loader";
// eslint-disable-next-line no-restricted-imports
import type EventEmitter from "events";
import { logger } from "../../src/logger";