Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933)

This commit is contained in:
Michael Telatynski 2022-03-01 20:42:05 +00:00 committed by GitHub
parent 5f51ba1592
commit f25e6813bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
50 changed files with 79 additions and 49 deletions

View file

@ -2,7 +2,7 @@ import '../../../skinned-sdk';
import React, { ReactElement } from 'react';
import ReactDOM from 'react-dom';
import { MatrixClient } from 'matrix-js-sdk';
import { MatrixClient } from 'matrix-js-sdk/src/matrix';
import { MatrixClientPeg } from '../../../../src/MatrixClientPeg';
import * as TestUtils from '../../../test-utils';

View file

@ -15,7 +15,7 @@ limitations under the License.
import React from 'react';
import { mount } from 'enzyme';
import '../../../skinned-sdk';
import { IPushRule, IPushRules, RuleId } from 'matrix-js-sdk';
import { IPushRule, IPushRules, RuleId } from 'matrix-js-sdk/src/matrix';
import { ThreepidMedium } from 'matrix-js-sdk/src/@types/threepids';
import { act } from 'react-dom/test-utils';