webpack/scenes/Content/__tests__/contentTable.test.js in katello-4.3.1 vs webpack/scenes/Content/__tests__/contentTable.test.js in katello-4.4.0.rc1
- old
+ new
@@ -14,12 +14,12 @@
let searchDelayScope;
let autoSearchScope;
beforeEach(() => {
- searchDelayScope = mockSetting(nockInstance, 'autosearch_delay', 500);
- autoSearchScope = mockSetting(nockInstance, 'autosearch_while_typing', true);
+ searchDelayScope = mockSetting(nockInstance, 'autosearch_delay', 0);
+ autoSearchScope = mockSetting(nockInstance, 'autosearch_while_typing');
});
afterEach(() => {
nock.cleanAll();
assertNockRequest(autoSearchScope);
@@ -72,10 +72,10 @@
const { queryByText, getAllByText } =
renderWithRedux(<ContentTable
contentTypes={mockContentTypes}
selectedContentType="Ansible Collections"
- setSelectedContentType={() => {}}
+ setSelectedContentType={() => { }}
showContentTypeSelector={false}
/>);
expect(queryByText(firstPackage.name)).toBeNull();
await patientlyWaitFor(() => {