1
0
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:
Richard van der Hoff
2017-01-19 10:44:01 +00:00
parent 8b60cb9df0
commit fdc213cbb8

View File

@ -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",