Skip to content

Commit

Permalink
return promise in CRC test
Browse files Browse the repository at this point in the history
  • Loading branch information
brendankenny committed Dec 2, 2016
1 parent 158263d commit dd5c027
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lighthouse-core/test/audits/critical-request-chains-test.js
Expand Up @@ -61,8 +61,8 @@ const mockArtifacts = {
/* eslint-env mocha */
describe('Performance: critical-request-chains audit', () => {
it('calculates the correct chain length', () => {
Audit.audit(mockArtifacts).then(output => {
assert.equal(output.score, 2);
return Audit.audit(mockArtifacts).then(output => {
assert.equal(output.score, false);
});
});
});

0 comments on commit dd5c027

Please sign in to comment.