mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Fixed UI linting
This commit is contained in:
parent
e06ebb1f11
commit
7510b243bb
@ -81,9 +81,9 @@ describe('<ExecutionEnvironmentDetails/>', () => {
|
||||
expect(
|
||||
wrapper.find('Detail[label="Credential"]').prop('value').props.children
|
||||
).toEqual(executionEnvironment.summary_fields.credential.name);
|
||||
expect(
|
||||
wrapper.find('Detail[label="Managed"]').prop('value')
|
||||
).toEqual('False');
|
||||
expect(wrapper.find('Detail[label="Managed"]').prop('value')).toEqual(
|
||||
'False'
|
||||
);
|
||||
const dates = wrapper.find('UserDateDetail');
|
||||
expect(dates).toHaveLength(2);
|
||||
expect(dates.at(0).prop('date')).toEqual(executionEnvironment.created);
|
||||
@ -178,9 +178,9 @@ describe('<ExecutionEnvironmentDetails/>', () => {
|
||||
expect(
|
||||
wrapper.find('Detail[label="Credential"]').prop('value').props.children
|
||||
).toEqual(executionEnvironment.summary_fields.credential.name);
|
||||
expect(
|
||||
wrapper.find('Detail[label="Managed"]').prop('value')
|
||||
).toEqual('True');
|
||||
expect(wrapper.find('Detail[label="Managed"]').prop('value')).toEqual(
|
||||
'True'
|
||||
);
|
||||
const dates = wrapper.find('UserDateDetail');
|
||||
expect(dates).toHaveLength(2);
|
||||
expect(dates.at(0).prop('date')).toEqual(executionEnvironment.created);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user