Appease the linter
This commit is contained in:
parent
5a2113e1a9
commit
34d5870a03
1 changed files with 6 additions and 3 deletions
|
@ -9,7 +9,7 @@ import * as TestUtils from 'test-utils';
|
|||
import sdk from '../../../../src/index';
|
||||
import MatrixClientPeg from '../../../../src/MatrixClientPeg';
|
||||
|
||||
import {MatrixClient, Room, RoomMember, User} from 'matrix-js-sdk';
|
||||
import {Room, RoomMember, User} from 'matrix-js-sdk';
|
||||
|
||||
function generateRoomId() {
|
||||
return '!' + Math.random().toString().slice(2, 10) + ':domain';
|
||||
|
@ -53,6 +53,9 @@ describe('MemberList', () => {
|
|||
expect(memberListRoom.roomId).toBeTruthy();
|
||||
|
||||
// Make users
|
||||
adminUsers = [];
|
||||
moderatorUsers = [];
|
||||
defaultUsers = [];
|
||||
const usersPerLevel = 2;
|
||||
for (let i = 0; i < usersPerLevel; i++) {
|
||||
const adminUser = new RoomMember(memberListRoom.roomId, `@admin${i}:localhost`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue