Revert "Fix loading-test"

This reverts commit 155d80b3fa.
pull/19267/head
Dariusz Niemczyk 2021-10-01 15:41:25 +02:00
父节点 935f95fcde
当前提交 e15d27b316
找不到此签名对应的密钥
GPG 密钥 ID: 3E8DC619E3C59A05
共有 1 个文件被更改,包括 1 次插入2 次删除

查看文件

@ -39,7 +39,6 @@ import {sleep} from "../test-utils";
import "fake-indexeddb/auto"; import "fake-indexeddb/auto";
import {cleanLocalstorage} from "../test-utils"; import {cleanLocalstorage} from "../test-utils";
import {IndexedDBCryptoStore} from "matrix-js-sdk/src/crypto/store/indexeddb-crypto-store"; 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_HS_URL='http://my_server';
const DEFAULT_IS_URL='http://my_is'; const DEFAULT_IS_URL='http://my_is';
@ -722,7 +721,7 @@ function awaitRoomView(matrixChat, retryLimit, retryCount) {
// state looks good, check the rendered output // state looks good, check the rendered output
ReactTestUtils.findRenderedComponentWithType( ReactTestUtils.findRenderedComponentWithType(
matrixChat, RoomViewClass); matrixChat, sdk.getComponent('structures.RoomView'));
return Promise.resolve(); return Promise.resolve();
} }