Skip to content

Commit

Permalink
Revert "Fix loading-test"
Browse files Browse the repository at this point in the history
This reverts commit 155d80b.
  • Loading branch information
Dariusz Niemczyk committed Oct 1, 2021
1 parent 935f95f commit e15d27b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/app-tests/loading-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import {sleep} from "../test-utils";
import "fake-indexeddb/auto";
import {cleanLocalstorage} from "../test-utils";
import {IndexedDBCryptoStore} from "matrix-js-sdk/src/crypto/store/indexeddb-crypto-store";
import { RoomView as RoomViewClass } from 'matrix-react-sdk/src/components/structures/RoomView';

const DEFAULT_HS_URL='http://my_server';
const DEFAULT_IS_URL='http://my_is';
Expand Down Expand Up @@ -722,7 +721,7 @@ function awaitRoomView(matrixChat, retryLimit, retryCount) {

// state looks good, check the rendered output
ReactTestUtils.findRenderedComponentWithType(
matrixChat, RoomViewClass);
matrixChat, sdk.getComponent('structures.RoomView'));
return Promise.resolve();
}

Expand Down

0 comments on commit e15d27b

Please sign in to comment.