You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
Remove lolex where its not needed and move to dev-deps. Remove unused optimist
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import React from 'react';
|
||||
import ReactTestUtils from 'react-dom/test-utils';
|
||||
import ReactDOM from 'react-dom';
|
||||
import lolex from 'lolex';
|
||||
|
||||
import * as TestUtils from '../../../test-utils';
|
||||
|
||||
@@ -27,7 +26,6 @@ describe('MemberList', () => {
|
||||
let parentDiv = null;
|
||||
let client = null;
|
||||
let root = null;
|
||||
let clock = null;
|
||||
let memberListRoom;
|
||||
let memberList = null;
|
||||
|
||||
@@ -40,8 +38,6 @@ describe('MemberList', () => {
|
||||
client = MatrixClientPeg.get();
|
||||
client.hasLazyLoadMembersEnabled = () => false;
|
||||
|
||||
clock = lolex.install();
|
||||
|
||||
parentDiv = document.createElement('div');
|
||||
document.body.appendChild(parentDiv);
|
||||
|
||||
@@ -114,8 +110,6 @@ describe('MemberList', () => {
|
||||
parentDiv = null;
|
||||
}
|
||||
|
||||
clock.uninstall();
|
||||
|
||||
done();
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user