Skip to content

Commit

Permalink
test(unit): fix Badge unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Deep Panchal <[email protected]>
  • Loading branch information
deepanchal committed Oct 28, 2024
1 parent 93fb54c commit 92e40a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/components/Badge.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ describe('Badge.vue', () => {
const badgeDiv = wrapper.find('[data-testid="testBadgeDiv"]');
expect(badgeDiv.exists()).toBe(true);
expect(badgeDiv.element.style.backgroundColor).toBe('');
expect(badgeDiv.element.style.width).toBe('10px');
expect(badgeDiv.element.style.height).toBe('10px');
expect(badgeDiv.element.style.width).toBe('auto');
expect(badgeDiv.element.style.height).toBe('auto');
});

it('applies color prop correctly', () => {
Expand Down

0 comments on commit 92e40a8

Please sign in to comment.