Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(i18n): update managed search coverage test for multiple providers

Steven Enamakel04594015b94c
diff --git a/app/src/lib/i18n/__tests__/coverage.test.ts b/app/src/lib/i18n/__tests__/coverage.test.ts
index e3b3a4fafa..5999954375 100644
--- a/app/src/lib/i18n/__tests__/coverage.test.ts
+++ b/app/src/lib/i18n/__tests__/coverage.test.ts
@@ -62,11 +62,12 @@ describe('i18n coverage', () => {
expect(keysWithEmDashes).toEqual([]);
});
- // The OpenHuman Managed search option must name the provider behind it, so
- // the managed path does not read as an unattributed black box (#5136). The
- // provider name is a proper noun, so it stays literal in every locale.
- it.each(['en', ...LOCALES])('locale %s names Exa in the managed search copy', locale => {
+ // The search copy must name the providers included with TinyHumans, so the
+ // managed path does not read as an unattributed black box (#5136). Provider
+ // names are proper nouns, so they stay literal in every locale.
+ it.each(['en', ...LOCALES])('locale %s names the included search providers', locale => {
const flat = locale === 'en' ? enFlat : loadLocale(locale);
- expect(flat['settings.search.engineManagedDesc']).toContain('Exa');
+ expect(flat['settings.search.description']).toContain('Exa');
+ expect(flat['settings.search.description']).toContain('Gemini');
});
});