2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-05-26 18:34:06 +03:00
Files
2019-01-13 14:27:51 +08:00

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))
})