Update matrix-org/react (enzyme deprecation) (#9116)

This commit is contained in:
Michael Weimann 2022-08-02 15:10:43 +02:00 committed by GitHub
parent 3991ce96e4
commit 27ba1e57e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
80 changed files with 90 additions and 7 deletions

View file

@ -15,6 +15,7 @@ limitations under the License.
*/
import React from 'react';
// eslint-disable-next-line deprecate/import
import { mount } from "enzyme";
import * as TestUtils from "../../../test-utils";

View file

@ -16,6 +16,7 @@ limitations under the License.
*/
import React from "react";
// eslint-disable-next-line deprecate/import
import { mount, ReactWrapper } from "enzyme";
import { Key } from "../../../../src/Keyboard";

View file

@ -13,6 +13,7 @@ limitations under the License.
*/
import React from 'react';
// eslint-disable-next-line deprecate/import
import { mount, ReactWrapper } from 'enzyme';
import { IPushRule, IPushRules, RuleId, IPusher } from 'matrix-js-sdk/src/matrix';
import { IThreepid, ThreepidMedium } from 'matrix-js-sdk/src/@types/threepids';

View file

@ -15,6 +15,7 @@ limitations under the License.
*/
import React from 'react';
// eslint-disable-next-line deprecate/import
import { mount } from "enzyme";
import * as TestUtils from "../../../test-utils";

View file

@ -15,6 +15,7 @@ limitations under the License.
*/
import React from 'react';
// eslint-disable-next-line deprecate/import
import { mount } from 'enzyme';
import SettingsStore from '../../../../src/settings/SettingsStore';

View file

@ -16,6 +16,7 @@ limitations under the License.
*/
import React from "react";
// eslint-disable-next-line deprecate/import
import { mount, ReactWrapper } from "enzyme";
import { Key } from "../../../../../../src/Keyboard";