Skip to content

Commit

Permalink
Removing obsolete test
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos committed Oct 13, 2020
1 parent edb5996 commit a87ed75
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 54 deletions.
32 changes: 0 additions & 32 deletions src/components/form/form_row/__snapshots__/form_row.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -217,21 +217,6 @@ exports[`EuiFormRow is rendered 1`] = `
</div>
`;

exports[`EuiFormRow props compressed is rendered 1`] = `
<div
class="euiFormRow"
id="generated-id-row"
>
<div
class="euiFormRow__fieldWrapper"
>
<input
id="generated-id"
/>
</div>
</div>
`;

exports[`EuiFormRow props describedByIds is rendered 1`] = `
<div
className="euiFormRow"
Expand Down Expand Up @@ -340,23 +325,6 @@ exports[`EuiFormRow props display type rowCompressed is rendered 1`] = `
</div>
`;

exports[`EuiFormRow props displayOnly is rendered 1`] = `
<div
class="euiFormRow"
id="generated-id-row"
>
<div
class="euiFormRow__fieldWrapper"
>
<span
id="generated-id"
>
just some text
</span>
</div>
</div>
`;

exports[`EuiFormRow props error as array is rendered 1`] = `
<div
class="euiFormRow"
Expand Down
22 changes: 0 additions & 22 deletions src/components/form/form_row/form_row.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,28 +192,6 @@ describe('EuiFormRow', () => {
expect(component).toMatchSnapshot();
});

test('displayOnly is rendered', () => {
const component = render(
<EuiFormRow>
<span>just some text</span>
</EuiFormRow>
);

expect(component).toMatchSnapshot();
});

describe('compressed', () => {
test('is rendered', () => {
const component = render(
<EuiFormRow>
<input />
</EuiFormRow>
);

expect(component).toMatchSnapshot();
});
});

describe('display type', () => {
DISPLAYS.forEach((display) => {
test(`${display} is rendered`, () => {
Expand Down

0 comments on commit a87ed75

Please sign in to comment.