Skip to content

Commit

Permalink
Update tests to use text children
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisronline committed Dec 14, 2017
1 parent 62bfb9b commit 0d9642c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ exports[`EuiFormErrorText is rendered 1`] = `
class="euiFormErrorText testClass1 testClass2"
data-test-subj="test subject string"
>
<input />
This is an error.
</div>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('EuiFormErrorText', () => {
test('is rendered', () => {
const component = render(
<EuiFormErrorText {...requiredProps}>
<input/>
This is an error.
</EuiFormErrorText>
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ exports[`EuiFormHelpText is rendered 1`] = `
class="euiFormHelpText testClass1 testClass2"
data-test-subj="test subject string"
>
<input />
This is help text.
</div>
`;
2 changes: 1 addition & 1 deletion src/components/form/form_help_text/form_help_text.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('EuiFormHelpText', () => {
test('is rendered', () => {
const component = render(
<EuiFormHelpText {...requiredProps}>
<input/>
This is help text.
</EuiFormHelpText>
);

Expand Down

0 comments on commit 0d9642c

Please sign in to comment.