fix(locale): fallback to device preferences instead of 'en' #513
Annotations
5 errors
tests/locale.test.ts > getLanguage:
tests/locale.test.ts#L39
AssertionError: expected 'en_US' to be 'en' // Object.is equality
Expected: "en"
Received: "en_US"
❯ tests/locale.test.ts:39:24
|
tests/locale.test.ts > getLocale:
tests/locale.test.ts#L51
AssertionError: expected 'en_US' to be 'en' // Object.is equality
Expected: "en"
Received: "en_US"
❯ tests/locale.test.ts:51:22
|
tests/translation.test.ts > register > with blank registry:
tests/translation.test.ts#L227
AssertionError: expected '2 Gast' to be '2 Gäste' // Object.is equality
Expected: "2 Gäste"
Received: "2 Gast"
❯ tests/translation.test.ts:227:62
|
test
Process completed with exit code 1.
|
test-summary
Process completed with exit code 1.
|