Fix linting in tests

Or in the case of one test, disbale just the one rule it breaks
This commit is contained in:
David Baker 2021-07-01 20:54:04 +01:00
parent ee9be5438e
commit 543fe6382d
3 changed files with 23 additions and 14 deletions

View file

@ -22,7 +22,7 @@ import MatrixReactTestUtils from 'matrix-react-test-utils';
import sdk from '../../../skinned-sdk';
import { MatrixClientPeg } from '../../../../src/MatrixClientPeg';
import * as test_utils from '../../../test-utils';
import * as TestUtilsMatrix from '../../../test-utils';
import { sleep } from "../../../../src/utils/promise";
const InteractiveAuthDialog = sdk.getComponent(
@ -33,7 +33,7 @@ describe('InteractiveAuthDialog', function() {
let parentDiv;
beforeEach(function() {
test_utils.stubClient();
TestUtilsMatrix.stubClient();
parentDiv = document.createElement('div');
document.body.appendChild(parentDiv);
});