mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 10:57:35 -02:30
Roll back changes to test linting and unit test gating
This commit is contained in:
@@ -107,8 +107,6 @@ class Organization extends Component {
|
|||||||
isAdminOfThisOrg,
|
isAdminOfThisOrg,
|
||||||
} = this.state;
|
} = this.state;
|
||||||
|
|
||||||
const foo = 'testing linter';
|
|
||||||
|
|
||||||
const canSeeNotificationsTab =
|
const canSeeNotificationsTab =
|
||||||
me.is_system_auditor || isNotifAdmin || isAuditorOfThisOrg;
|
me.is_system_auditor || isNotifAdmin || isAuditorOfThisOrg;
|
||||||
const canToggleNotifications =
|
const canToggleNotifications =
|
||||||
|
|||||||
@@ -213,7 +213,6 @@ describe.only('<Organization />', () => {
|
|||||||
OrganizationsAPI.readDetail.mockResolvedValue(mockDetails);
|
OrganizationsAPI.readDetail.mockResolvedValue(mockDetails);
|
||||||
OrganizationsAPI.read.mockImplementation(getOrganizations);
|
OrganizationsAPI.read.mockImplementation(getOrganizations);
|
||||||
mountWithContexts(<Organization setBreadcrumb={() => {}} me={mockMe} />);
|
mountWithContexts(<Organization setBreadcrumb={() => {}} me={mockMe} />);
|
||||||
expect(1).toBe(2);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
test('notifications tab shown for admins', async done => {
|
test('notifications tab shown for admins', async done => {
|
||||||
|
|||||||
Reference in New Issue
Block a user