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

tests(i18n): no ICU value given to preprocess #9384

Merged
merged 4 commits into from
Jul 17, 2019
Prev Previous commit
Update lighthouse-core/test/lib/i18n/i18n-test.js
Co-Authored-By: Brendan Kenny <bckenny@gmail.com>
  • Loading branch information
exterkamp and brendankenny committed Jul 17, 2019
commit 9b73f546b065a68c95c2dad4021c6c88870e7dd0
2 changes: 1 addition & 1 deletion lighthouse-core/test/lib/i18n/i18n-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ describe('i18n', () => {
expect(helloPercentStr).toBeDisplayString('Hello 43.08% World');
});

it('throws an error when a value is not provided', () => {
it('throws an error when values are needed but not provided', () => {
expect(_ => i18n.getFormatted(str_(UIStrings.helloBytesWorld), 'en-US'))
.toThrow(`ICU Message contains a value reference ("in") that wasn't provided`);
});
Expand Down