[js-code-coverage] Update Provider tests to optionally use $i18n{} label
CL:2559234 introduced changes to disable $i18n{} template replacement
when the --devtools-code-coverage command line flag is passed and only
for the ChromeOS Files app extension in-test.
Introduce a helper to identify when a files app Providers test is in
code coverage mode and use the $i18n{} label instead of the replaced
string.
--devtools-code-coverage
Bug: 1152612
Test: browser_tests --gtest_filter="Providers/*"
Test: browser_tests --gtest_filter="Providers/*"
Change-Id: I7eb906895f21912e96d18b488e3ca239a9d26dd0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2558818Reviewed-by:
Noel Gordon <noel@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#831201}
Showing
Please register or sign in to comment