1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

Remove unnecessary adapter in ThreadPanel-test.tsx (#6946)

This commit is contained in:
Dariusz Niemczyk
2021-10-14 16:42:54 +02:00
committed by GitHub
parent 562a880c7d
commit c31bd8c647

View File

@ -15,9 +15,8 @@ limitations under the License.
*/
import React from 'react';
import { shallow, mount, configure } from "enzyme";
import { shallow, mount } from "enzyme";
import '../../skinned-sdk';
import Adapter from "@wojtekmaj/enzyme-adapter-react-17";
import {
ThreadFilterType,
@ -28,8 +27,6 @@ import { ContextMenuButton } from '../../../src/accessibility/context_menu/Conte
import ContextMenu from '../../../src/components/structures/ContextMenu';
import { _t } from '../../../src/languageHandler';
configure({ adapter: new Adapter() });
describe('ThreadPanel', () => {
describe('Header', () => {
it('expect that All filter for ThreadPanelHeader properly renders Show: All threads', () => {