Skip to content

Commit

Permalink
test updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mrksbnc committed Nov 18, 2023
1 parent 2233e71 commit dbf1af1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/components/Badge/__tests__/BoBadge.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {
BadgeForm,
BadgeSize,
BadgeType,
BadgeVariant,
Expand Down Expand Up @@ -55,4 +56,14 @@ describe('BoIcon', () => {
});
expect(wrapper.classes()).toContain('filled');
});

it('renders with correct form', () => {
const wrapper = mount(BoBadge, {
props: {
label: 'test',
form: BadgeForm.Pill,
},
});
expect(wrapper.classes()).toContain('pill');
});
});

0 comments on commit dbf1af1

Please sign in to comment.