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
Update Enzyme adapter name
This commit is contained in:
@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
|
|
||||||
import '../skinned-sdk'; // Must be first for skinning to work
|
import '../skinned-sdk'; // Must be first for skinning to work
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import Adapter from "enzyme-adapter-react-16";
|
import Adapter from "@wojtekmaj/enzyme-adapter-react-17";
|
||||||
import { configure, mount } from "enzyme";
|
import { configure, mount } from "enzyme";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
@ -32,7 +32,7 @@ import Matrix from 'matrix-js-sdk';
|
|||||||
const test_utils = require('../../test-utils');
|
const test_utils = require('../../test-utils');
|
||||||
const mockclock = require('../../mock-clock');
|
const mockclock = require('../../mock-clock');
|
||||||
|
|
||||||
import Adapter from "enzyme-adapter-react-16";
|
import Adapter from "@wojtekmaj/enzyme-adapter-react-17";
|
||||||
import { configure, mount } from "enzyme";
|
import { configure, mount } from "enzyme";
|
||||||
|
|
||||||
import MatrixClientContext from "../../../src/contexts/MatrixClientContext";
|
import MatrixClientContext from "../../../src/contexts/MatrixClientContext";
|
||||||
|
@ -15,7 +15,7 @@ limitations under the License.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import Adapter from "enzyme-adapter-react-16";
|
import Adapter from "@wojtekmaj/enzyme-adapter-react-17";
|
||||||
import { configure, mount } from "enzyme";
|
import { configure, mount } from "enzyme";
|
||||||
|
|
||||||
import sdk from "../../../skinned-sdk";
|
import sdk from "../../../skinned-sdk";
|
||||||
|
@ -15,7 +15,7 @@ limitations under the License.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import '../../../skinned-sdk'; // Must be first for skinning to work
|
import '../../../skinned-sdk'; // Must be first for skinning to work
|
||||||
import Adapter from "enzyme-adapter-react-16";
|
import Adapter from "@wojtekmaj/enzyme-adapter-react-17";
|
||||||
import { configure, mount } from "enzyme";
|
import { configure, mount } from "enzyme";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import {act} from "react-dom/test-utils";
|
import {act} from "react-dom/test-utils";
|
||||||
|
Reference in New Issue
Block a user