You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +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:
@ -15,7 +15,6 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
import lolex from 'lolex';
|
||||
import jest from 'jest-mock';
|
||||
import EventEmitter from 'events';
|
||||
import UserActivity from '../src/UserActivity';
|
||||
|
||||
@ -36,8 +35,8 @@ describe('UserActivity', function() {
|
||||
let clock;
|
||||
|
||||
beforeEach(function() {
|
||||
fakeWindow = new FakeDomEventEmitter(),
|
||||
fakeDocument = new FakeDomEventEmitter(),
|
||||
fakeWindow = new FakeDomEventEmitter();
|
||||
fakeDocument = new FakeDomEventEmitter();
|
||||
userActivity = new UserActivity(fakeWindow, fakeDocument);
|
||||
userActivity.start();
|
||||
clock = lolex.install();
|
||||
|
Reference in New Issue
Block a user