Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

add mocks for Country and Countries response for AF Locale #1314

Conversation

TayKangSheng
Copy link
Contributor

@TayKangSheng TayKangSheng commented Mar 9, 2020

Description

CountryService api has updated and allow for all locales supported by ShopifyI18n. For locales that is not supported by CountryDb, CountryService will default to english and return a LOCALE_UNSUPPORTED error with the data in en.

Therefore this PR adds more mocks for locales that will return both data in en with LOCALE_UNSUPPORTED error. This PR is a continuation from #1313. Ensure that the PR is merged before this PR.

Context

The context of why this PR is started is to fix https://github.com/Shopify/intl-china#110, and this PR is extracted and part of #1301 because of the need to release multiple packages in order.

Type of change

  • @shopify/address-mocks Minor: New feature (non-breaking change which adds functionality)

Checklist

  • I have added a changelog entry, prefixed by the type of change noted above

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant