You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933)
This commit is contained in:
committed by
GitHub
parent
5f51ba1592
commit
f25e6813bb
@@ -15,7 +15,7 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
import "../../skinned-sdk";
|
||||
import { MatrixClient } from 'matrix-js-sdk';
|
||||
import { MatrixClient } from 'matrix-js-sdk/src/matrix';
|
||||
import { EventType } from "matrix-js-sdk/src/@types/event";
|
||||
import { CallState } from "matrix-js-sdk/src/webrtc/call";
|
||||
|
||||
|
@@ -18,7 +18,7 @@ import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import ReactTestUtils from 'react-dom/test-utils';
|
||||
import MockHttpBackend from 'matrix-mock-request';
|
||||
import Matrix from 'matrix-js-sdk';
|
||||
import * as Matrix from 'matrix-js-sdk/src/matrix';
|
||||
|
||||
import { MatrixClientPeg } from '../../../src/MatrixClientPeg';
|
||||
import sdk from '../../skinned-sdk';
|
||||
|
@@ -18,7 +18,7 @@ limitations under the License.
|
||||
import React from 'react';
|
||||
import ReactDOM from "react-dom";
|
||||
import { EventEmitter } from "events";
|
||||
import Matrix from 'matrix-js-sdk';
|
||||
import * as Matrix from 'matrix-js-sdk/src/matrix';
|
||||
import FakeTimers from '@sinonjs/fake-timers';
|
||||
import { mount } from "enzyme";
|
||||
|
||||
|
@@ -22,7 +22,7 @@ import {
|
||||
Room,
|
||||
UNSTABLE_FILTER_RELATION_SENDERS,
|
||||
UNSTABLE_FILTER_RELATION_TYPES,
|
||||
} from 'matrix-js-sdk';
|
||||
} from 'matrix-js-sdk/src/matrix';
|
||||
import { mocked } from 'jest-mock';
|
||||
import '../../skinned-sdk';
|
||||
|
||||
|
Reference in New Issue
Block a user