intlify / vue-i18n-jest

:globe_with_meridians: vue-jest wrapper for i18n custom blocks
MIT License
7 stars 4 forks source link

Add support for locale attribute on i18n block #29

Closed wolfgangwalther closed 3 years ago

wolfgangwalther commented 3 years ago

With those changes, it's possible to add the locale="xyz" attribute to the <i18n> block as supported by vue-i18n-loader.

Apart from adding the feature itself, I also extended the test cases a bit to increase coverage.