mirror of
https://github.com/cupcakearmy/svelte-i18n.git
synced 2024-11-16 09:59:58 +01:00
Release v1.1.2
This commit is contained in:
parent
d483244a9f
commit
ceacbaf990
@ -2,7 +2,7 @@
|
||||
|
||||
> Internationalization for Svelte.
|
||||
|
||||
[See Demo](https://svelte-i18n.netlify.com/)
|
||||
**Note:** the `v2` version was unpublished and will be released again in the following week after I rewrite all of its tests. For now, use the `v1.1.2`.
|
||||
|
||||
## Usage
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "svelte-i18n",
|
||||
"version": "1.1.2-beta",
|
||||
"version": "1.1.2",
|
||||
"main": "dist/i18n.js",
|
||||
"module": "dist/i18n.mjs",
|
||||
"license": "MIT",
|
||||
@ -50,7 +50,7 @@
|
||||
"statements": 95
|
||||
}
|
||||
},
|
||||
"collectCoverage": true
|
||||
"collectCoverage": false
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.7.2",
|
||||
|
@ -198,9 +198,9 @@ describe('custom formats', () => {
|
||||
})
|
||||
|
||||
expect(_.number(123123123, { format: 'usd' })).toContain('US$')
|
||||
expect(_.number(123123123, { format: 'usd' })).toContain('123,123,123.00')
|
||||
expect(_.number(123123123, { format: 'usd' })).toContain('123.123.123,00')
|
||||
|
||||
expect(_.number(123123123, { format: 'brl' })).toContain('R$')
|
||||
expect(_.number(123123123, { format: 'brl' })).toContain('123,123,123.00')
|
||||
expect(_.number(123123123, { format: 'brl' })).toContain('123.123.123,00')
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user