mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Update org utils test
This commit is contained in:
parent
83e300636d
commit
f76e9bddf9
@ -3,9 +3,8 @@ import getTabName from '../../../src/pages/Organizations/utils';
|
||||
describe('getTabName', () => {
|
||||
test('returns tab name', () => {
|
||||
expect(getTabName('details')).toBe('Details');
|
||||
expect(getTabName('users')).toBe('Users');
|
||||
expect(getTabName('access')).toBe('Access');
|
||||
expect(getTabName('teams')).toBe('Teams');
|
||||
expect(getTabName('admins')).toBe('Admins');
|
||||
expect(getTabName('notifications')).toBe('Notifications');
|
||||
expect(getTabName('unknown')).toBe('');
|
||||
expect(getTabName()).toBe('');
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import React, { Fragment } from 'react';
|
||||
import { I18n } from '@lingui/react';
|
||||
import { Trans, t } from '@lingui/macro';
|
||||
import { I18n} from '@lingui/react';
|
||||
import {
|
||||
Card,
|
||||
CardHeader,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user