Bug 1565563 - Add en-US to search configurations to test. r=Standard8,mconnor

Differential Revision: https://phabricator.services.mozilla.com/D37869

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Dale Harvey 2019-07-12 17:10:38 +00:00
Родитель 67fde77813
Коммит 879adf5842
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -243,7 +243,9 @@ class SearchConfigTest {
const data = await OS.File.read(do_get_file("all-locales").path, {
encoding: "utf-8",
});
return data.split("\n").filter(e => e != "");
// "en-US" is not in all-locales as it is the default locale
// add it manually to ensure it is tested.
return [...data.split("\n").filter(e => e != ""), "en-US"];
}
/**

Просмотреть файл

@ -104,7 +104,7 @@ const test = new SearchConfigTest({
locales: { matches: ["en-US"] },
},
],
excluded: [{ regions: ["au"] }],
excluded: [{ regions: ["au", "be", "ca", "ch", "gb", "ie", "nl"] }],
searchUrlEnd: "711-53200-19255-0/1",
},
{