From 3c9c0ec4476bca5730adcaffc02ac666faaece5f Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 15 Jan 2020 14:05:55 -0700 Subject: [PATCH] Leave the language handler setup to the test init scripts --- test/app-tests/loading-test.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/app-tests/loading-test.js b/test/app-tests/loading-test.js index 93814cc373..2a86368fd6 100644 --- a/test/app-tests/loading-test.js +++ b/test/app-tests/loading-test.js @@ -1,5 +1,6 @@ /* Copyright 2016 OpenMarket Ltd +Copyright 2020 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -27,7 +28,6 @@ import MatrixReactTestUtils from 'matrix-react-test-utils'; import * as jssdk from 'matrix-js-sdk'; import * as sdk from 'matrix-react-sdk'; import {MatrixClientPeg} from 'matrix-react-sdk/src/MatrixClientPeg'; -import * as languageHandler from 'matrix-react-sdk/src/languageHandler'; import {VIEWS} from 'matrix-react-sdk/src/components/structures/MatrixChat'; import dis from 'matrix-react-sdk/src/dispatcher'; import * as test_utils from '../test-utils'; @@ -65,10 +65,6 @@ describe('loading:', function() { windowLocation = null; matrixChat = null; - - languageHandler.setMissingEntryGenerator(function(key) { - return key.split('|', 2)[1]; - }); }); afterEach(async function() {