-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Locale API]: Adjust fallback layer logic (#11404)
* test(locale): restore sut consistently * test(locale): more accurately define falsy return for ipcinfoCookie.get * test(locale): fix base level test for getLangDisplay * test(locale): adjust assertions based on consistent mocks * test(locale): fix assumption on default html lang test * test(locale): update tests for new fallback logic * feat(locale): updated locale fallback logic * feat(locale): update JSDoc return * test(global): fix global test by mocking LocaleAPI * test(searchTypeahead): fix and improve test by mocking LocaleAPI * test(locale): add a test case for then the DDOAPI rejects * fix(locale): cover case when DDOAPI rejects --------- Co-authored-by: kennylam <[email protected]>
- Loading branch information
Showing
6 changed files
with
582 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.