diff --git a/__tests__/pages/Organizations/screens/Organization/OrganizationTeams.test.jsx b/__tests__/pages/Organizations/screens/Organization/OrganizationTeams.test.jsx
index 61b50bae57..76ab90af11 100644
--- a/__tests__/pages/Organizations/screens/Organization/OrganizationTeams.test.jsx
+++ b/__tests__/pages/Organizations/screens/Organization/OrganizationTeams.test.jsx
@@ -1,5 +1,6 @@
import React from 'react';
import { shallow } from 'enzyme';
+import { Router } from 'react-router-dom';
import { createMemoryHistory } from 'history';
import { mountWithContexts } from '../../../../enzymeHelpers';
import { sleep } from '../../../../testUtils';
@@ -92,12 +93,18 @@ describe('', () => {
initialEntries: ['/organizations/1/teams'],
});
const wrapper = mountWithContexts(
- , { context: {
- network: { api: { readOrganizationTeamsList }, handleHttpError: () => {} },
- router: { history }
+
+
+ ,
+ { context: {
+ network: {
+ api: { readOrganizationTeamsList },
+ handleHttpError: () => {}
+ },
+ router: false,
} }
);