formatjs / handlebars-intl

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

Reuse existing tests as browser tests #48

Closed juandopazo closed 9 years ago

juandopazo commented 9 years ago

This uses Expect.js instead of Chai to reuse the existing tests in the browser.

There are small differences between the behavior of the polyfill and the native version that come up in number formatting. Also, there seems to be an issue with locale resolution because it can´t find the locale data for de-DE.

ericf commented 9 years ago

Also, there seems to be an issue with locale resolution because it can´t find the locale data for de-DE.

Let's figure out what this issue is before merging this, even if we fix it in another PR.

ericf commented 9 years ago

I realized the test HTML page was only including English, so I switched it to load handlebars-intl-with-locales.js.