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