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

Commit f436616

Browse files
author
Dieter
committed
CS update
1 parent eb06ca5 commit f436616

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/components/src/Alert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ class Alert extends React.Component {
243243
onClick={ this.onCrossClick }
244244
iconSource={ this.options.closeIcon }
245245
iconSize="1rem"
246-
aria-label={ __("close", "yoast-components" ) }
246+
aria-label={ __( "close", "yoast-components" ) }
247247
/>
248248
}
249249
</AlertBody>

packages/components/tests/AlertTest.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ test( "the undismissable warning alert matches the snapshot", () => {
2424
const component = renderer.create(
2525
<Alert dismissable={ false } cookieName="warningAlert" type="warning">
2626
<i>Watch out where the huskies go,
27-
and don't you eat that yellow snow. </i>
27+
and don&apos;t you eat that yellow snow. </i>
2828
This <b>warning</b> alert cannot be dismissed.
2929
</Alert>
3030
);
@@ -55,4 +55,4 @@ test( "the error alert matches the snapshot", () => {
5555

5656
const tree = component.toJSON();
5757
expect( tree ).toMatchSnapshot();
58-
} );
58+
} );

0 commit comments

Comments
 (0)