@vtmn/svelte
Advanced tools
Comparing version 0.52.2 to 0.52.3
{ | ||
"name": "@vtmn/svelte", | ||
"version": "0.52.2", | ||
"version": "0.52.3", | ||
"description": "Decathlon Design System - Vitamin Svelte components library", | ||
@@ -131,3 +131,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "8337622245dcd0f81e5a2a7bda2b577b70330d0c" | ||
"gitHead": "a705a24389f719a241686f83eb456396b0c02a66" | ||
} |
@@ -87,2 +87,13 @@ import '@testing-library/jest-dom'; | ||
}); | ||
test('Should have aria label for radio', () => { | ||
const { getByRole } = render(VtmnRating, { | ||
name: 'rating', | ||
value: 2, | ||
}); | ||
expect(getByRole('radio', { name: '1/5' })).toBeVisible(); | ||
expect(getByRole('radio', { name: '2/5' })).toBeVisible(); | ||
expect(getByRole('radio', { name: '3/5' })).toBeVisible(); | ||
expect(getByRole('radio', { name: '4/5' })).toBeVisible(); | ||
expect(getByRole('radio', { name: '5/5' })).toBeVisible(); | ||
}); | ||
}); | ||
@@ -89,0 +100,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1482887
35010