This commit is contained in:
Michael Telatynski 2019-12-17 12:09:01 +00:00
parent 802092bf9a
commit c3415d2121
3 changed files with 0 additions and 4 deletions

View file

@ -2,7 +2,6 @@ import React from 'react';
import ReactTestUtils from 'react-dom/test-utils';
import ShallowRenderer from "react-test-renderer/shallow";
import sdk from '../../../skinned-sdk';
import * as languageHandler from '../../../../src/languageHandler';
import * as testUtils from '../../../test-utils';
// Give MELS a matrixClient in its child context

View file

@ -24,7 +24,6 @@ import sdk from "../../../skinned-sdk";
import Matrix from "matrix-js-sdk";
import * as TestUtils from "../../../test-utils";
import * as languageHandler from "../../../../src/languageHandler";
const { waitForUpdate } = TestUtils;
const GroupMemberList = sdk.getComponent("views.groups.GroupMemberList");

View file

@ -22,8 +22,6 @@ export function getRenderer() {
* TODO: once the components are updated to get their MatrixClients from
* the react context, we can get rid of this and just inject a test client
* via the context instead.
*
* @returns {sinon.Sandbox}; remember to call sandbox.restore afterwards.
*/
export function stubClient() {
const client = createTestClient();