Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmarti committed Sep 8, 2017
1 parent c354fca commit aed2c7c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ suite('QuickOpen performance (integration)', () => {
}

function popEvent() {
const events = telemetryService.events;
const events = telemetryService.events
.filter(event => event.name === 'openAnything');
assert.strictEqual(events.length, 1);
const event = events[0];
events.length = 0;
assert.strictEqual(event.name, 'openAnything');
telemetryService.events.length = 0;
return event;
}

Expand Down

0 comments on commit aed2c7c

Please sign in to comment.