Skip to content

Commit

Permalink
Merge pull request #620 from share/remove-lolex
Browse files Browse the repository at this point in the history
➖ Remove `lolex`
  • Loading branch information
alecgibson authored Aug 16, 2023
2 parents 3488c1b + d708bcd commit b2734dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"coveralls": "^3.1.1",
"eslint": "^8.47.0",
"eslint-config-google": "^0.14.0",
"lolex": "^5.1.2",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"ot-json0-v2": "https://github.com/ottypes/json0#90a3ae26364c4fa3b19b6df34dad46707a704421",
Expand Down
3 changes: 1 addition & 2 deletions test/client/snapshot-timestamp-request.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
var Backend = require('../../lib/backend');
var expect = require('chai').expect;
var lolex = require('lolex');
var MemoryDb = require('../../lib/db/memory');
var MemoryMilestoneDb = require('../../lib/milestone-db/memory');
var sinon = require('sinon');
Expand All @@ -18,7 +17,7 @@ describe('SnapshotTimestampRequest', function() {
var ONE_DAY = 1000 * 60 * 60 * 24;

beforeEach(function() {
clock = lolex.install({now: day1});
clock = sinon.useFakeTimers(day1);
backend = new Backend();
});

Expand Down

0 comments on commit b2734dc

Please sign in to comment.