You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-18 09:22:18 +03:00
Megolm export: fix test
This commit is contained in:
@ -21,12 +21,6 @@ import * as MegolmExportEncryption from 'utils/MegolmExportEncryption';
|
|||||||
import * as testUtils from '../test-utils';
|
import * as testUtils from '../test-utils';
|
||||||
import expect from 'expect';
|
import expect from 'expect';
|
||||||
|
|
||||||
// polyfill textencoder if necessary
|
|
||||||
let TextEncoder = window.TextEncoder;
|
|
||||||
if (!TextEncoder) {
|
|
||||||
TextEncoder = require('utils/TextEncoderPolyfill');
|
|
||||||
}
|
|
||||||
|
|
||||||
const TEST_VECTORS=[
|
const TEST_VECTORS=[
|
||||||
[
|
[
|
||||||
"plain",
|
"plain",
|
||||||
|
Reference in New Issue
Block a user