The current unit tests basically test the Intl APIs to death, but the Intl APIs should be mocked and we shouldn't worry about them much at this level. Instead, the unit tests for this package should be focused on the functions it adds, and to make sure it's calling into the Intl APIs correctly.
The current unit tests basically test the
Intl
APIs to death, but theIntl
APIs should be mocked and we shouldn't worry about them much at this level. Instead, the unit tests for this package should be focused on the functions it adds, and to make sure it's calling into theIntl
APIs correctly.