mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Megolm export: fix test
This commit is contained in:
parent
8b60cb9df0
commit
fdc213cbb8
@ -21,12 +21,6 @@ import * as MegolmExportEncryption from 'utils/MegolmExportEncryption';
|
||||
import * as testUtils from '../test-utils';
|
||||
import expect from 'expect';
|
||||
|
||||
// polyfill textencoder if necessary
|
||||
let TextEncoder = window.TextEncoder;
|
||||
if (!TextEncoder) {
|
||||
TextEncoder = require('utils/TextEncoderPolyfill');
|
||||
}
|
||||
|
||||
const TEST_VECTORS=[
|
||||
[
|
||||
"plain",
|
||||
|
Loading…
Reference in New Issue
Block a user