chore(components): [date-picker] correct typo in test file (#13876)

This commit is contained in:
Evan Liu 2023-08-06 09:27:55 +08:00 committed by GitHub
parent 82c7de1e77
commit f2b6e1eb2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -686,8 +686,8 @@ describe('DatePicker Navigation', () => {
expect(getMonthLabel()).toContain('June')
})
it('year with fewer Feburary dates', async () => {
// Feburary 2008 has 29 days, Feburary 2007 has 28
it('year with fewer February dates', async () => {
// February 2008 has 29 days, February 2007 has 28
await initNavigationTest(new Date(2008, 1, 29))
prevYear.click()
await nextTick()