feat: Print a warning when both I18nProvider and own i18n string are missing #11485
Annotations
10 errors and 1 warning
Run Unit Tests:
src/mixed-line-bar-chart/__tests__/mixed-chart.test.tsx#L164
expect(jest.fn()).not.toBeCalled()
Expected number of calls: 0
Received number of calls: 5
1: "[AwsUi] [[charts]] Localization is not provided for key i18nStrings.filterLabel. Provide the value as a prop or use I18nProvider"
2: "[AwsUi] [[charts]] Localization is not provided for key i18nStrings.filterPlaceholder. Provide the value as a prop or use I18nProvider"
3: "[AwsUi] [select] Localization is not provided for key selectedAriaLabel. Provide the value as a prop or use I18nProvider"
at Object.<anonymous> (src/mixed-line-bar-chart/__tests__/mixed-chart.test.tsx:164:28)
|
Run Unit Tests:
src/multiselect/__tests__/multiselect.test.tsx#L454
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
at Object.<anonymous> (src/multiselect/__tests__/multiselect.test.tsx:454:22)
|
Run Unit Tests:
src/property-filter/__tests__/property-filter.test.tsx#L597
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 5
at Object.<anonymous> (src/property-filter/__tests__/property-filter.test.tsx:597:20)
|
Run Unit Tests:
src/select/__tests__/select.test.tsx#L205
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 3
at Object.<anonymous> (src/select/__tests__/select.test.tsx:205:24)
|
Run Unit Tests:
src/select/__tests__/select.test.tsx#L205
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 3
at Object.<anonymous> (src/select/__tests__/select.test.tsx:205:24)
|
Run Unit Tests:
src/autosuggest/__tests__/autosuggest.test.tsx#L145
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 3
at Object.<anonymous> (src/autosuggest/__tests__/autosuggest.test.tsx:145:20)
|
Run Unit Tests:
src/area-chart/__tests__/area-chart-initial-state.test.tsx#L468
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 22
at Object.<anonymous> (src/area-chart/__tests__/area-chart-initial-state.test.tsx:468:20)
|
Run Unit Tests:
src/area-chart/__tests__/area-chart-initial-state.test.tsx#L474
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 22
at Object.<anonymous> (src/area-chart/__tests__/area-chart-initial-state.test.tsx:474:20)
|
Run Unit Tests:
src/area-chart/__tests__/area-chart-initial-state.test.tsx#L483
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 22
at Object.<anonymous> (src/area-chart/__tests__/area-chart-initial-state.test.tsx:483:20)
|
Run Unit Tests:
src/area-chart/__tests__/area-chart-initial-state.test.tsx#L492
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 22
at Object.<anonymous> (src/area-chart/__tests__/area-chart-initial-state.test.tsx:492:20)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading