mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-05-26 18:34:06 +03:00
12 lines
306 B
JavaScript
12 lines
306 B
JavaScript
import lang from '../src/locale/languages'
|
|
|
|
const testLang = (key) => it(key, () => {
|
|
expect(lang[key].days).toHaveLength(7)
|
|
expect(lang[key].months).toHaveLength(12)
|
|
expect(lang[key].pickers).toHaveLength(4)
|
|
})
|
|
|
|
describe('transformDate', () => {
|
|
Object.keys(lang).forEach(key => testLang(key))
|
|
})
|