Skip to content

Commit

Permalink
Fix lolex integration test on old nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Mar 6, 2018
1 parent a47240c commit b253392
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ours/lolex-fake-timers.js
Expand Up @@ -11,8 +11,8 @@ function MyTransform() {

util.inherits(MyTransform, Transform);

const clock = lolex.install({toFake: [ 'setImmediate', 'nextTick' ]});
let stream2DataCalled = false;
var clock = lolex.install({toFake: [ 'setImmediate', 'nextTick' ]});
var stream2DataCalled = false;

var stream = new MyTransform();
stream.on('data', function() {
Expand Down

0 comments on commit b253392

Please sign in to comment.