aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/quality-profiles/home
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2019-02-05 09:01:11 +0100
committersonartech <sonartech@sonarsource.com>2019-02-11 09:11:44 +0100
commit7dadf3959310e9693c8ee7e32d5c3ff09d8235c5 (patch)
treea61adaa6eb8d100f15b351efaf143816f4609b15 /server/sonar-web/src/main/js/apps/quality-profiles/home
parent8405a5d9e7e4c2cad0411bf331954bce339c6589 (diff)
downloadsonarqube-7dadf3959310e9693c8ee7e32d5c3ff09d8235c5.tar.gz
sonarqube-7dadf3959310e9693c8ee7e32d5c3ff09d8235c5.zip
Split test utils and mocks, better type mocks
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-profiles/home')
-rw-r--r--server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/EvolutionDeprecated-test.tsx2
-rw-r--r--server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/ProfilesListHeader-test.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/EvolutionDeprecated-test.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/EvolutionDeprecated-test.tsx
index 3a1a0bb3204..ae320ce8ef7 100644
--- a/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/EvolutionDeprecated-test.tsx
+++ b/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/EvolutionDeprecated-test.tsx
@@ -20,7 +20,7 @@
import * as React from 'react';
import { shallow } from 'enzyme';
import EvolutionDeprecated from '../EvolutionDeprecated';
-import { mockQualityProfile } from '../../testUtils';
+import { mockQualityProfile } from '../../../../helpers/testMocks';
it('should render correctly', () => {
const wrapper = shallow(
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/ProfilesListHeader-test.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/ProfilesListHeader-test.tsx
index d7c8aa2b3bf..377d9a8b016 100644
--- a/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/ProfilesListHeader-test.tsx
+++ b/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/ProfilesListHeader-test.tsx
@@ -20,7 +20,7 @@
import * as React from 'react';
import { shallow } from 'enzyme';
import { ProfilesListHeader } from '../ProfilesListHeader';
-import { mockRouter } from '../../../../helpers/testUtils';
+import { mockRouter } from '../../../../helpers/testMocks';
it('should render correctly', () => {
const wrapper = shallowRender();