Skip to content

Commit

Permalink
Fix test values of DOMsize audit
Browse files Browse the repository at this point in the history
  • Loading branch information
shogohida committed Nov 1, 2022
1 parent 1aa78ac commit e87d529
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/test/audits/dobetterweb/dom-size-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ describe('DOMSize audit', () => {
assert.equal(auditResult.score, 0.43);
assert.equal(auditResult.numericValue, numElements);
expect(auditResult.displayValue).toBeDisplayString('1,500 elements');
assert.equal(auditResult.details.items[0].value, numElements);
assert.equal(auditResult.details.items[1].value, 1);
assert.equal(auditResult.details.items[2].value, 2);
assert.equal(auditResult.details.items[0].value.value, numElements);
assert.equal(auditResult.details.items[1].value.value, 1);
assert.equal(auditResult.details.items[2].value.value, 2);
});

it('calculates score hitting top distribution', () => {
Expand Down

0 comments on commit e87d529

Please sign in to comment.