Remove unnecessary adapter in ThreadPanel-test.tsx (#6946)
This commit is contained in:
parent
562a880c7d
commit
c31bd8c647
1 changed files with 1 additions and 4 deletions
|
@ -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', () => {
|
||||
|
|
Loading…
Reference in a new issue