Skip to content

Commit 5112b33

Browse files
committed
Remove unused test helper
1 parent 2e24b0c commit 5112b33

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

test/app-tests/loading.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -683,17 +683,6 @@ function awaitSyncingSpinner(matrixChat, retryLimit, retryCount) {
683683
return Promise.resolve();
684684
}
685685

686-
function assertAtSyncingSpinner(matrixChat) {
687-
const domComponent = ReactDOM.findDOMNode(matrixChat);
688-
expect(domComponent.className).toEqual("mx_MatrixChat_splash");
689-
690-
ReactTestUtils.findRenderedComponentWithType(
691-
matrixChat, sdk.getComponent('elements.Spinner'));
692-
const logoutLink = ReactTestUtils.findRenderedDOMComponentWithTag(
693-
matrixChat, 'a');
694-
expect(logoutLink.text).toEqual("Logout");
695-
}
696-
697686
function awaitRoomView(matrixChat, retryLimit, retryCount) {
698687
if (retryLimit === undefined) {
699688
retryLimit = 5;

0 commit comments

Comments
 (0)