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 React from 'react';
|
||||||
import { shallow, mount, configure } from "enzyme";
|
import { shallow, mount } from "enzyme";
|
||||||
import '../../skinned-sdk';
|
import '../../skinned-sdk';
|
||||||
import Adapter from "@wojtekmaj/enzyme-adapter-react-17";
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
ThreadFilterType,
|
ThreadFilterType,
|
||||||
|
@ -28,8 +27,6 @@ import { ContextMenuButton } from '../../../src/accessibility/context_menu/Conte
|
||||||
import ContextMenu from '../../../src/components/structures/ContextMenu';
|
import ContextMenu from '../../../src/components/structures/ContextMenu';
|
||||||
import { _t } from '../../../src/languageHandler';
|
import { _t } from '../../../src/languageHandler';
|
||||||
|
|
||||||
configure({ adapter: new Adapter() });
|
|
||||||
|
|
||||||
describe('ThreadPanel', () => {
|
describe('ThreadPanel', () => {
|
||||||
describe('Header', () => {
|
describe('Header', () => {
|
||||||
it('expect that All filter for ThreadPanelHeader properly renders Show: All threads', () => {
|
it('expect that All filter for ThreadPanelHeader properly renders Show: All threads', () => {
|
||||||
|
|
Loading…
Reference in a new issue