test: consistent avatar urls

This commit is contained in:
Benjamin Canac
2024-10-17 16:33:50 +02:00
parent e137577a72
commit 716ed10068
18 changed files with 103 additions and 103 deletions

View File

@@ -13,7 +13,7 @@ describe('Alert', () => {
['with title', { props }],
['with description', { props: { ...props, description: 'Description' } }],
['with icon', { props: { ...props, icon: 'i-heroicons-light-bulb' } }],
['with avatar', { props: { ...props, avatar: { src: 'https://avatars.githubusercontent.com/u/739984?v=4' } } }],
['with avatar', { props: { ...props, avatar: { src: 'https://github.com/benjamincanac.png' } } }],
['with close', { props: { ...props, close: true } }],
['with closeIcon', { props: { ...props, close: true, closeIcon: 'i-heroicons-trash' } }],
...variants.map((variant: string) => [`with primary variant ${variant}`, { props: { ...props, variant } }]),