Creates an intl instance that can be used for testing.
Other than the default implementation provided by @formatjs/intl, this
intl object will not warn if a message is not defined.
Instead, it will simply render the fallback message.
This behavior makes testing easier.
Note that messages can still be defined by using the messages parameter.
Creates an
intlinstance that can be used for testing.Other than the default implementation provided by
@formatjs/intl, thisintlobject will not warn if a message is not defined. Instead, it will simply render the fallback message. This behavior makes testing easier.Note that messages can still be defined by using the
messagesparameter.