You've already forked matrix-react-sdk
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:
@ -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', () => {
|
||||||
|
Reference in New Issue
Block a user