Skip to content

Commit

Permalink
switch to underscore convention
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhulce committed Jul 18, 2017
1 parent 38fafe1 commit 1d83736
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lighthouse-core/test/gather/computed/computed-artifact-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ describe('ComputedArtifact base class', () => {

return computedArtifact.request(obj0, obj1)
.then(result => assert.equal(result, 0))
.then(() => assert.deepEqual(computedArtifact.lastArguments, [obj0, obj1, mockComputed]))
.then(() => computedArtifact.request(obj1, obj2))
.then(_ => assert.deepEqual(computedArtifact.lastArguments, [obj0, obj1, mockComputed]))
.then(_ => computedArtifact.request(obj1, obj2))
.then(result => assert.equal(result, 1))
.then(() => assert.deepEqual(computedArtifact.lastArguments, [obj1, obj2, mockComputed]))
.then(() => computedArtifact.request(obj0, obj1))
.then(_ => assert.deepEqual(computedArtifact.lastArguments, [obj1, obj2, mockComputed]))
.then(_ => computedArtifact.request(obj0, obj1))
.then(result => assert.equal(result, 0))
.then(() => assert.deepEqual(computedArtifact.lastArguments, [obj1, obj2, mockComputed]));
.then(_ => assert.deepEqual(computedArtifact.lastArguments, [obj1, obj2, mockComputed]));
});
});

0 comments on commit 1d83736

Please sign in to comment.