mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
14 lines
478 B
JavaScript
14 lines
478 B
JavaScript
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('teams')).toBe('Teams');
|
|
expect(getTabName('admins')).toBe('Admins');
|
|
expect(getTabName('notifications')).toBe('Notifications');
|
|
expect(getTabName('unknown')).toBe('');
|
|
expect(getTabName()).toBe('');
|
|
});
|
|
});
|