You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
Step 3.1: Stop using getComponent in tests
This commit is contained in:
@@ -20,13 +20,9 @@ import ReactTestUtils from 'react-dom/test-utils';
|
||||
import MatrixReactTestUtils from 'matrix-react-test-utils';
|
||||
import { sleep } from "matrix-js-sdk/src/utils";
|
||||
|
||||
import sdk from '../../../skinned-sdk';
|
||||
import { MatrixClientPeg } from '../../../../src/MatrixClientPeg';
|
||||
import * as TestUtilsMatrix from '../../../test-utils';
|
||||
|
||||
const InteractiveAuthDialog = sdk.getComponent(
|
||||
'views.dialogs.InteractiveAuthDialog',
|
||||
);
|
||||
import InteractiveAuthDialog from "../../../../src/components/views/dialogs/InteractiveAuthDialog";
|
||||
|
||||
describe('InteractiveAuthDialog', function() {
|
||||
let parentDiv;
|
||||
|
||||
Reference in New Issue
Block a user