Skip to content

Commit

Permalink
Removed deprecated prop usage from EuiFormRow's tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chandlerprall authored and cchaos committed Oct 13, 2020
1 parent 2a834e8 commit 1ff92b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ exports[`EuiFormRow is rendered 1`] = `

exports[`EuiFormRow props compressed is rendered 1`] = `
<div
class="euiFormRow euiFormRow--compressed"
class="euiFormRow"
id="generated-id-row"
>
<div
Expand Down Expand Up @@ -346,7 +346,7 @@ exports[`EuiFormRow props displayOnly is rendered 1`] = `
id="generated-id-row"
>
<div
class="euiFormRow__fieldWrapper euiFormRow__fieldWrapperDisplayOnly"
class="euiFormRow__fieldWrapper"
>
<span
id="generated-id"
Expand Down
4 changes: 2 additions & 2 deletions src/components/form/form_row/form_row.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ describe('EuiFormRow', () => {

test('displayOnly is rendered', () => {
const component = render(
<EuiFormRow displayOnly>
<EuiFormRow>
<span>just some text</span>
</EuiFormRow>
);
Expand All @@ -205,7 +205,7 @@ describe('EuiFormRow', () => {
describe('compressed', () => {
test('is rendered', () => {
const component = render(
<EuiFormRow compressed>
<EuiFormRow>
<input />
</EuiFormRow>
);
Expand Down

0 comments on commit 1ff92b8

Please sign in to comment.