Step 3.1: Stop using getComponent in tests
This commit is contained in:
@@ -18,7 +18,6 @@ import React from 'react';
|
||||
import { mocked } from 'jest-mock';
|
||||
import { mount } from 'enzyme';
|
||||
|
||||
import '../../../skinned-sdk';
|
||||
import LeftPanelLiveShareWarning from '../../../../src/components/views/beacon/LeftPanelLiveShareWarning';
|
||||
import { OwnBeaconStore, OwnBeaconStoreEvent } from '../../../../src/stores/OwnBeaconStore';
|
||||
import { flushPromises } from '../../../test-utils';
|
||||
|
||||
@@ -20,7 +20,6 @@ import { mount } from 'enzyme';
|
||||
import { Room, Beacon, BeaconEvent } from 'matrix-js-sdk/src/matrix';
|
||||
import { logger } from 'matrix-js-sdk/src/logger';
|
||||
|
||||
import '../../../skinned-sdk';
|
||||
import RoomLiveShareWarning from '../../../../src/components/views/beacon/RoomLiveShareWarning';
|
||||
import { OwnBeaconStore, OwnBeaconStoreEvent } from '../../../../src/stores/OwnBeaconStore';
|
||||
import {
|
||||
|
||||
@@ -17,7 +17,6 @@ limitations under the License.
|
||||
import React from 'react';
|
||||
import { mount } from 'enzyme';
|
||||
|
||||
import '../../../skinned-sdk';
|
||||
import StyledLiveBeaconIcon from '../../../../src/components/views/beacon/StyledLiveBeaconIcon';
|
||||
|
||||
describe('<StyledLiveBeaconIcon />', () => {
|
||||
|
||||
Reference in New Issue
Block a user