Skip to content

Commit

Permalink
⚡️ Updating property in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MiloradFilipovic committed Dec 24, 2024
1 parent 0483fb4 commit bc8019f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe('IconPicker', () => {
it('renders default icon picker and switches tabs', async () => {
const { getByTestId } = render(IconPicker, {
props: {
defaultIcon: { type: 'icon', value: 'smile' },
modelValue: { type: 'icon', value: 'smile' },
buttonTooltip: 'Select an icon',
availableIcons: TEST_ICONS,
},
Expand All @@ -75,7 +75,7 @@ describe('IconPicker', () => {
const TOOLTIP = 'Select something...';
const { getByTestId } = render(IconPicker, {
props: {
defaultIcon: { type: 'icon', value: ICON },
modelValue: { type: 'icon', value: ICON },
availableIcons: [...TEST_ICONS],
buttonTooltip: TOOLTIP,
},
Expand All @@ -92,7 +92,7 @@ describe('IconPicker', () => {
const TOOLTIP = 'Select something...';
const { getByTestId } = render(IconPicker, {
props: {
defaultIcon: { type: 'emoji', value: ICON },
modelValue: { type: 'emoji', value: ICON },
availableIcons: [...TEST_ICONS],
buttonTooltip: TOOLTIP,
},
Expand All @@ -107,7 +107,7 @@ describe('IconPicker', () => {
it('renders icon picker with only emojis', () => {
const { queryByTestId } = render(IconPicker, {
props: {
defaultIcon: { type: 'icon', value: 'smile' },
modelValue: { type: 'icon', value: 'smile' },
buttonTooltip: 'Select an emoji',
availableIcons: [],
},
Expand Down

0 comments on commit bc8019f

Please sign in to comment.