diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-07-02 14:47:39 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2018-07-04 09:31:06 +0200 |
commit | 75b52c13c529602ace87503a7b73587f4ae82ed0 (patch) | |
tree | 2c3e7054cf957d0bfbd60e4fac6c20d51607de21 /server/sonar-web/src/main/js/apps/organizations | |
parent | df6860806d152b2873e89e659896ae6de146daea (diff) | |
download | sonarqube-75b52c13c529602ace87503a7b73587f4ae82ed0.tar.gz sonarqube-75b52c13c529602ace87503a7b73587f4ae82ed0.zip |
drop mocking of react-dom
Diffstat (limited to 'server/sonar-web/src/main/js/apps/organizations')
2 files changed, 0 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/organizations/components/forms/__tests__/AddMemberForm-test.js b/server/sonar-web/src/main/js/apps/organizations/components/forms/__tests__/AddMemberForm-test.js index b2a32edcbef..308ff1f7d5e 100644 --- a/server/sonar-web/src/main/js/apps/organizations/components/forms/__tests__/AddMemberForm-test.js +++ b/server/sonar-web/src/main/js/apps/organizations/components/forms/__tests__/AddMemberForm-test.js @@ -22,8 +22,6 @@ import { shallow } from 'enzyme'; import { click } from '../../../../../helpers/testUtils'; import AddMemberForm from '../AddMemberForm'; -jest.mock('react-dom'); - const memberLogins = ['admin']; it('should render and open the modal', () => { diff --git a/server/sonar-web/src/main/js/apps/organizations/components/forms/__tests__/ManageMemberGroupsForm-test.js b/server/sonar-web/src/main/js/apps/organizations/components/forms/__tests__/ManageMemberGroupsForm-test.js index c2d30153c74..579a42f96ef 100644 --- a/server/sonar-web/src/main/js/apps/organizations/components/forms/__tests__/ManageMemberGroupsForm-test.js +++ b/server/sonar-web/src/main/js/apps/organizations/components/forms/__tests__/ManageMemberGroupsForm-test.js @@ -22,8 +22,6 @@ import { shallow } from 'enzyme'; import { click, mockEvent } from '../../../../../helpers/testUtils'; import ManageMemberGroupsForm from '../ManageMemberGroupsForm'; -jest.mock('react-dom'); - const member = { login: 'admin', name: 'Admin Istrator', avatar: '', groupCount: 3 }; const organization = { name: 'MyOrg', key: 'myorg' }; const organizationGroups = [ |