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