summaryrefslogtreecommitdiffstats
path: root/test/tierSupport/autoCompleteSearchBar
diff options
context:
space:
mode:
Diffstat (limited to 'test/tierSupport/autoCompleteSearchBar')
-rw-r--r--test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBar.test.js4
-rw-r--r--test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarActions.test.js4
-rw-r--r--test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarReducer.test.js6
3 files changed, 7 insertions, 7 deletions
diff --git a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBar.test.js b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBar.test.js
index d95977d..ff184f5 100644
--- a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBar.test.js
+++ b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBar.test.js
@@ -27,7 +27,7 @@ import sinon from 'sinon';
import configureStore from 'redux-mock-store';
import thunk from 'redux-thunk';
import {storeCreator} from 'app/AppStore.js';
-import TestUtils from 'react-dom/lib/ReactTestUtils';
+import TestUtils from 'react-dom/test-utils';
import {
autoCompleteSearchBarActionTypes,
ERROR_INVALID_SEARCH_TERMS,
@@ -47,7 +47,7 @@ import {
onSuggestionsClearRequested,
querySelectedNodeElement,
getInvalidSearchInputEvent
-} from 'app/tierSupport/autoCompleteSearchBar/AutoCompleteSearchBarActions.js';
+} from 'app/globalAutoCompleteSearchBar/GlobalAutoCompleteSearchBarActions.js';
import * as networkCall from 'app/networking/NetworkCalls.js';
import autoCompleteSearchBarTestConstants from './autoCompleteSearchBarTestConstants';
diff --git a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarActions.test.js b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarActions.test.js
index 0b03dbf..8b3b901 100644
--- a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarActions.test.js
+++ b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarActions.test.js
@@ -32,7 +32,7 @@ import {
TS_BACKEND_SEARCH_SELECTED_NODE_URL,
ERROR_INVALID_SEARCH_TERMS,
TIER_SUPPORT_NETWORK_ERROR
-} from "app/tierSupport/autoCompleteSearchBar/AutoCompleteSearchBarConstants.js";
+} from 'generic-components/autoCompleteSearchBar/AutoCompleteSearchBarConstants.js';
import {
searchResultsFound,
clearSuggestionsTextField,
@@ -42,7 +42,7 @@ import {
fetchRequestedValues,
fetchSelectedNodeElement,
queryRequestedValues
-} from "app/tierSupport/autoCompleteSearchBar/AutoCompleteSearchBarActions.js";
+} from 'app/globalAutoCompleteSearchBar/GlobalAutoCompleteSearchBarActions.js';
import {tierSupportActionTypes, TSUI_SEARCH_URL} from "app/tierSupport/TierSupportConstants.js";
import {TABLE_DATA} from "app/tierSupport/selectedNodeDetails/SelectedNodeDetailsConstants.js";
import {getDynamicTSUISearchURL} from "app/tierSupport/TierSupportActions.js";
diff --git a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarReducer.test.js b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarReducer.test.js
index 89b17e9..3dfb29a 100644
--- a/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarReducer.test.js
+++ b/test/tierSupport/autoCompleteSearchBar/autoCompleteSearchBarReducer.test.js
@@ -23,14 +23,14 @@
import {expect} from 'chai';
import React from 'react';
import {Provider} from 'react-redux';
-import TestUtils from 'react-dom/lib/ReactTestUtils';
+import TestUtils from 'react-dom/test-utils';
import {tierSupportActionTypes} from 'app/tierSupport/TierSupportConstants.js';
-import reducer from 'app/tierSupport/autoCompleteSearchBar/AutoCompleteSearchBarReducer.js';
+import reducer from 'app/globalAutoCompleteSearchBar/GlobalAutoCompleteSearchBarReducer.js';
import {MESSAGE_LEVEL_WARNING, MESSAGE_LEVEL_DANGER} from 'utils/GlobalConstants.js';
import {
autoCompleteSearchBarActionTypes,
NO_MATCHES_FOUND,
- ERROR_INVALID_SEARCH_TERMS} from 'app/tierSupport/autoCompleteSearchBar/AutoCompleteSearchBarConstants.js';
+ ERROR_INVALID_SEARCH_TERMS} from 'generic-components/autoCompleteSearchBar/AutoCompleteSearchBarConstants.js';
import {
ERROR_RETRIEVING_DATA} from 'app/networking/NetworkConstants.js';