curated2: !64
This commit is contained in:
commit
8a20a94d4b
3 files changed
+696
-4
No files matched your search
@@ -204,8 +204,8 @@ describe('remove-exercise locale coverage', () => {
|
||||
]
|
||||
const packs = import.meta.glob('../locales/*.js', { eager: true, import: 'default' })
|
||||
|
||||
it('defines every new prompt in all twelve locale packs', () => {
|
||||
expect(Object.keys(packs)).toHaveLength(12)
|
||||
it('defines every new prompt in all thirteen locale packs', () => {
|
||||
expect(Object.keys(packs)).toHaveLength(13)
|
||||
Object.entries(packs).forEach(([path, pack]) => {
|
||||
required.forEach(key => expect(pack, `${path} is missing ${key}`).toHaveProperty(key))
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user