diff --git a/components/locale-provider/__tests__/index.test.js b/components/locale-provider/__tests__/index.test.js index 814937e38e..280eef88f2 100644 --- a/components/locale-provider/__tests__/index.test.js +++ b/components/locale-provider/__tests__/index.test.js @@ -19,6 +19,9 @@ import skSK from '../sk_SK'; import jaJP from '../ja_JP'; import trTR from '../tr_TR'; import zhTW from '../zh_TW'; +import fiFI from '../fi_FI'; + +const locales = [enUS, ptBR, ruRU, esES, svSE, frBE, deDE, nlNL, caES, csCZ, koKR, etEE, skSK, jaJP, trTR, zhTW, fiFI]; const Option = Select.Option; const RangePicker = DatePicker.RangePicker; @@ -64,7 +67,7 @@ const App = () => ( describe('Locale Provider', () => { it('should display the text as locale changed', () => { - [enUS, ptBR, ruRU, esES, svSE, frBE, deDE, nlNL, caES, csCZ, koKR, etEE, skSK, jaJP, trTR, zhTW].forEach((locale) => { + locales.forEach((locale) => { const wrapper = mount( @@ -86,7 +89,7 @@ describe('Locale Provider', () => { return null; } } - [enUS, ptBR, ruRU, esES, svSE, frBE, deDE, nlNL, caES, csCZ, koKR, trTR, zhTW].forEach((locale) => { + locales.forEach((locale) => { mount(