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