Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

Commit

Permalink
Fixed a linting error and reverted the changes on the dropdown.render…
Browse files Browse the repository at this point in the history
….spec. Updates the snapshots too
  • Loading branch information
Ricardo Machado committed Nov 15, 2017
1 parent 23aaebf commit e15eae6
Show file tree
Hide file tree
Showing 5 changed files with 614 additions and 1,438 deletions.
2 changes: 1 addition & 1 deletion components/badge/badge.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const Badge = ({ arrow, border, children, mods, position, title, visible, ...oth
{border && <div className="ui-badge__border" />}
{arrow && (position === 'right' || position === 'left') ? <span className="ui-badge-badge-arrow" /> : null}
</div>
) : <noscript />;
) : null;
}

if (!children) {
Expand Down
2 changes: 1 addition & 1 deletion tests/jest.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
],
"rootDir": "../",
"setupFiles": [
"<rootDir>/tests/setupTests.js"
"./tests/setupTests.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
Expand Down
1 change: 0 additions & 1 deletion tests/unit/badge/__snapshots__/badge.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ exports[`Badge should render content without badge when badge is not visible 1`]
className="ui-badge"
>
Badge Content
<noscript />
</div>
`;

Expand Down
Loading

0 comments on commit e15eae6

Please sign in to comment.