Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

Commit

Permalink
CS update
Browse files Browse the repository at this point in the history
  • Loading branch information
Dieter committed Aug 8, 2019
1 parent eb06ca5 commit f436616
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/components/src/Alert.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class Alert extends React.Component {
onClick={ this.onCrossClick }
iconSource={ this.options.closeIcon }
iconSize="1rem"
aria-label={ __("close", "yoast-components" ) }
aria-label={ __( "close", "yoast-components" ) }
/>
}
</AlertBody>
Expand Down
4 changes: 2 additions & 2 deletions packages/components/tests/AlertTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test( "the undismissable warning alert matches the snapshot", () => {
const component = renderer.create(
<Alert dismissable={ false } cookieName="warningAlert" type="warning">
<i>Watch out where the huskies go,
and don't you eat that yellow snow. </i>
and don&apos;t you eat that yellow snow. </i>
This <b>warning</b> alert cannot be dismissed.
</Alert>
);
Expand Down Expand Up @@ -55,4 +55,4 @@ test( "the error alert matches the snapshot", () => {

const tree = component.toJSON();
expect( tree ).toMatchSnapshot();
} );
} );

0 comments on commit f436616

Please sign in to comment.