[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n: localize audits in best-practices #9092

Merged
merged 14 commits into from
Jun 25, 2019
Prev Previous commit
Next Next commit
fixed test
  • Loading branch information
exterkamp committed May 31, 2019
commit 54704d17c0cc79b5c0b03584cf2f2d96fcfbaece
4 changes: 2 additions & 2 deletions lighthouse-core/test/audits/dobetterweb/uses-http2-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ describe('Resources are fetched over http/2', () => {
'https://webtide.com/wp-content/plugins/wp-pagenavi/pagenavi-css.css?ver=2.70'
);
const headers = auditResult.details.headings;
assert.equal(headers[0].text, 'URL', 'table headings are correct and in order');
assert.equal(headers[1].text, 'Protocol', 'table headings are correct and in order');
expect(headers[0].text).toBeDisplayString('URL');
expect(headers[1].text).toBeDisplayString('Protocol');
}
);
});
Expand Down