webpack/scenes/ContentViews/Details/Versions/Delete/__tests__/cvVersionRemove.test.js in katello-4.3.1 vs webpack/scenes/ContentViews/Details/Versions/Delete/__tests__/cvVersionRemove.test.js in katello-4.4.0.rc1
- old
+ new
@@ -32,12 +32,12 @@
let envScope;
beforeEach(() => {
const { results } = cvVersionsData;
[firstVersion] = results;
- 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');
envScope = nockInstance
.get(environmentPathsPath)
.query(true)
.reply(200, environmentPathsData);
});
@@ -129,12 +129,12 @@
test('Can open Remove wizard and remove version from environment with hosts', async (done) => {
const autocompleteScope = mockAutocomplete(nockInstance, autocompleteUrl);
const hostAutocompleteUrl = '/hosts/auto_complete_search';
const hostAutocompleteScope = mockForemanAutocomplete(nockInstance, hostAutocompleteUrl);
- const hostSearchDelayScope = mockSetting(nockInstance, 'autosearch_delay', 500);
- const hostAutoSearchScope = mockSetting(nockInstance, 'autosearch_while_typing', true);
+ const hostSearchDelayScope = mockSetting(nockInstance, 'autosearch_delay', 0);
+ const hostAutoSearchScope = mockSetting(nockInstance, 'autosearch_while_typing');
const scope = nockInstance
.get(cvVersions)
.times(2)
.query(true)
@@ -221,11 +221,11 @@
test('Can open Remove wizard and remove version from environment with activation keys', async (done) => {
const autocompleteScope = mockAutocomplete(nockInstance, autocompleteUrl);
const akAutocompleteUrl = '/activation_keys/auto_complete_search';
const akAutocompleteScope = mockAutocomplete(nockInstance, akAutocompleteUrl);
- const akSearchDelayScope = mockSetting(nockInstance, 'autosearch_delay', 500);
- const akAutoSearchScope = mockSetting(nockInstance, 'autosearch_while_typing', true);
+ const akSearchDelayScope = mockSetting(nockInstance, 'autosearch_delay', 0);
+ const akAutoSearchScope = mockSetting(nockInstance, 'autosearch_while_typing');
const scope = nockInstance
.get(cvVersions)
.times(2)
.query(true)