Skip to content

Commit

Permalink
chore: Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanFreestone committed Sep 18, 2024
1 parent 0018afd commit e9c00ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { waitFor } from '@folio/jest-config-stripes/testing-library/react';
import React from 'react';
import { StaticRouter as Router } from 'react-router-dom';
import { waitFor, screen } from '@folio/jest-config-stripes/testing-library/react';

import { renderWithIntl, Selection, SelectionList as SelectListInteractor } from '@folio/stripes-erm-testing';
import { translationsProperties } from '../../test/jest/helpers';

import { organizationSelectionDisplay } from './testResources';
import OrganizationSelectionDisplay from './OrganizationSelectionDisplay';
import { organizationSelectionDisplay } from './testResources';


let renderComponent;
Expand Down Expand Up @@ -68,7 +68,6 @@ describe('OrganizationSelectionDisplay', () => {
});

it('choosing an organization role option', async () => {
screen.debug();
const selection = Selection({ id: 'selection-:ri:' });

await selection.exists();
Expand Down
2 changes: 1 addition & 1 deletion lib/hooks/useFetchMultiplePages.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const useFetchMultiplePages = ({
};
}), [getQueryKey, getQueryOptions, ky, nsValues, pageFetchArray, params, path]);

// Chunking these is a lot more difficult than doing it plain, since useQueries will already handle the +1 or -1
// Chunking these is a lot more difficult than doing it plain, since useQueries will already handle the +1 or -1
// case for us and only fire the new query, but if we take it into our own hands it's difficult to not have it fire every time
const queries = useQueries(queryArray);

Expand Down

0 comments on commit e9c00ec

Please sign in to comment.