From 5112b33af2d4352e27d2a17a1d0b3b96299f2102 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Tue, 26 Mar 2019 14:41:10 +0000 Subject: [PATCH] Remove unused test helper --- test/app-tests/loading.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/test/app-tests/loading.js b/test/app-tests/loading.js index c3afc07d8..1e8b2f21a 100644 --- a/test/app-tests/loading.js +++ b/test/app-tests/loading.js @@ -683,17 +683,6 @@ function awaitSyncingSpinner(matrixChat, retryLimit, retryCount) { return Promise.resolve(); } -function assertAtSyncingSpinner(matrixChat) { - const domComponent = ReactDOM.findDOMNode(matrixChat); - expect(domComponent.className).toEqual("mx_MatrixChat_splash"); - - ReactTestUtils.findRenderedComponentWithType( - matrixChat, sdk.getComponent('elements.Spinner')); - const logoutLink = ReactTestUtils.findRenderedDOMComponentWithTag( - matrixChat, 'a'); - expect(logoutLink.text).toEqual("Logout"); -} - function awaitRoomView(matrixChat, retryLimit, retryCount) { if (retryLimit === undefined) { retryLimit = 5;