mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
delint
This commit is contained in:
parent
802092bf9a
commit
c3415d2121
@ -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 New Issue
Block a user