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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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', () => {