From c3415d21217c0e1e6ca802345b8428dc49b4cb34 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 17 Dec 2019 12:09:01 +0000 Subject: [PATCH] delint --- test/components/views/elements/MemberEventListSummary-test.js | 1 - test/components/views/groups/GroupMemberList-test.js | 1 - test/test-utils.js | 2 -- 3 files changed, 4 deletions(-) diff --git a/test/components/views/elements/MemberEventListSummary-test.js b/test/components/views/elements/MemberEventListSummary-test.js index a68c39eeeb..7b40916dda 100644 --- a/test/components/views/elements/MemberEventListSummary-test.js +++ b/test/components/views/elements/MemberEventListSummary-test.js @@ -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 diff --git a/test/components/views/groups/GroupMemberList-test.js b/test/components/views/groups/GroupMemberList-test.js index fd96c9f331..2b20ce0067 100644 --- a/test/components/views/groups/GroupMemberList-test.js +++ b/test/components/views/groups/GroupMemberList-test.js @@ -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"); diff --git a/test/test-utils.js b/test/test-utils.js index 407791e9c3..13248c2851 100644 --- a/test/test-utils.js +++ b/test/test-utils.js @@ -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();