diff --git a/test/unit/components/Badge.test.ts b/test/unit/components/Badge.test.ts index 168ac6063..108fdb6c3 100644 --- a/test/unit/components/Badge.test.ts +++ b/test/unit/components/Badge.test.ts @@ -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', () => {