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

Commit

Permalink
Adds assertion to verify if Badge returns null when no children is pr…
Browse files Browse the repository at this point in the history
…ovided and the badge is not visible
  • Loading branch information
Ricardo Machado committed Nov 15, 2017
1 parent 710a2e9 commit 5b597d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/badge/badge.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ describe('Badge', () => {
);

expect(wrapper).toMatchSnapshot();
expect(wrapper.html()).toEqual(null);
});

it('should return content inside container if title not provided', () => {
Expand Down

0 comments on commit 5b597d7

Please sign in to comment.