Fixed UI linting

This commit is contained in:
Amol Gautam 2021-06-18 10:32:58 -04:00 committed by Shane McDonald
parent e06ebb1f11
commit 7510b243bb
No known key found for this signature in database
GPG Key ID: 6F374AF6E9EB9374

View File

@ -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);