mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
Fix unit tests.
This commit is contained in:
@@ -36,6 +36,7 @@ const instance = [
|
||||
mem_capacity: 1,
|
||||
enabled: true,
|
||||
managed_by_policy: true,
|
||||
node_type: 'hybrid',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -127,7 +128,8 @@ describe('<InstanceListItem/>', () => {
|
||||
});
|
||||
expect(wrapper.find('Td').at(1).text()).toBe('awx');
|
||||
expect(wrapper.find('Progress').prop('value')).toBe(40);
|
||||
expect(wrapper.find('Td').at(2).text()).toBe('Auto');
|
||||
expect(wrapper.find('Td').at(2).text()).toBe('hybrid');
|
||||
expect(wrapper.find('Td').at(3).text()).toBe('Auto');
|
||||
expect(
|
||||
wrapper
|
||||
.find('Td')
|
||||
|
||||
Reference in New Issue
Block a user