|
@ -302,7 +302,7 @@ describe('Locale Provider', () => { |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
it('set moment locale when locale changes', () => { |
|
|
it('set dayjs locale when locale changes', () => { |
|
|
const Test: React.FC<{ locale?: Locale }> = ({ locale }) => ( |
|
|
const Test: React.FC<{ locale?: Locale }> = ({ locale }) => ( |
|
|
<LocaleProvider locale={locale}> |
|
|
<LocaleProvider locale={locale}> |
|
|
<div> |
|
|
<div> |
|
|