mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
delint
This commit is contained in:
parent
802092bf9a
commit
c3415d2121
3 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue