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:
parent
8ba54f5f7d
commit
9365a9cb30
4 changed files with 24 additions and 16 deletions
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue