1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

Migrate some enzyme tests to RTL (#9383)

This commit is contained in:
Michael Telatynski
2022-10-10 16:29:10 +01:00
committed by GitHub
parent c795ada78c
commit 6b30a5e1c9
10 changed files with 102 additions and 163 deletions

View File

@@ -18,7 +18,6 @@ import React from 'react';
// eslint-disable-next-line deprecate/import
import { mount, ReactWrapper } from 'enzyme';
import { render, screen, act, fireEvent, waitFor, getByRole } from "@testing-library/react";
import "@testing-library/jest-dom";
import { mocked, Mocked } from "jest-mock";
import { EventType, RoomType } from "matrix-js-sdk/src/@types/event";
import { Room } from "matrix-js-sdk/src/models/room";