1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00
awx/__tests__/pages/Organizations/utils.test.jsx
2018-12-03 13:30:31 -05:00

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('');
});
});