Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
usavkov-epam committed Oct 20, 2023
1 parent 8be5f58 commit 4611208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CountryFilter/CountryFilter.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('CountryFilter component', () => {
it('should invoke onChange callback when something is selected', async () => {
const onChangeFilter = jest.fn();
const { container, getByText } = renderFilter(false, onChangeFilter);
const afgOption = getByText('stripes-components.countries.AF');
const afgOption = getByText('AF');
const button = container.querySelector('[id="org-filter-country-selection"]');

expect(button).toBeEnabled();
Expand Down

0 comments on commit 4611208

Please sign in to comment.