mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
19 lines
374 B
JavaScript
19 lines
374 B
JavaScript
import locales from './index.js'
|
|
|
|
describe('locales', () => {
|
|
it('should contain 2 locales', () => {
|
|
expect(locales).toHaveLength(2)
|
|
})
|
|
|
|
it('should contain a German locale', () => {
|
|
expect(locales).toContainEqual(
|
|
expect.objectContaining({
|
|
name: 'Deutsch',
|
|
code: 'de',
|
|
iso: 'de-DE',
|
|
enabled: true,
|
|
}),
|
|
)
|
|
})
|
|
})
|