Skip to content

Commit

Permalink
fix badge test
Browse files Browse the repository at this point in the history
  • Loading branch information
anicyne committed Mar 26, 2024
1 parent f137c52 commit 48d59f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/components/badge/test/html.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const getBadgeHtml = (props: BadgeProps, options?: SpanOptions): string =
return `<kol-badge${options?.additionalAttrs ?? ''} class="kol-badge">
<mock:shadow-root>
<span style="background-color: ${state._color.backgroundColor}; color: ${state._color.foregroundColor as string};">
<${KolSpanWcTag} _allowMarkdown ${props._icons ? `_icons="${props._icons}"` : ''} ${props._label ? `_label="${props._label}"` : ''}></${KolSpanWcTag} >
<${KolSpanWcTag} _allowMarkdown ${props._icons ? `_icons="${props._icons as string}"` : ''} ${props._label ? `_label="${props._label}"` : ''}></${KolSpanWcTag} >
</span>
</mock:shadow-root>
</kol-badge>`;
Expand Down

0 comments on commit 48d59f0

Please sign in to comment.