Skip to content

Commit

Permalink
test: test locale names are in lower case
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkun committed Sep 28, 2020
1 parent de3e3fb commit 51360dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/locale/keys.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Locale.forEach((locale) => {
expect(commentsMatchResult[1]).not.toBeUndefined()

expect(name).toEqual(locale.name.replace('.js', ''))
expect(name).toBe(name.toLowerCase())
expect(weekdays).toEqual(expect.any(Array))

if (weekdaysShort) expect(weekdaysShort).toEqual(expect.any(Array))
Expand Down

0 comments on commit 51360dd

Please sign in to comment.