mirror of
https://github.com/ansible/awx.git
synced 2026-01-19 13:41:28 -03:30
Commit to test linting and unit test gating
This commit is contained in:
parent
5cb8bd34ac
commit
02d320de71
@ -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 => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user