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
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue