formatjs / handlebars-intl

Handlebars helpers for internationalization.
http://formatjs.io/handlebars/
Other
265 stars 28 forks source link

Update unit tests to test helper functions not the Intl APIs #51

Open ericf opened 10 years ago

ericf commented 10 years ago

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.