[#MUI-23] Revoir la config couleur tailwind (#18)
| Numéro du ticket | Titre du ticket | |------------------|-----------------| | | | ## Description de la PR ## Modification du .env ## Check list - [ ] Pas de régression - [ ] TU/TI/TF rédigée - [ ] TU/TI/TF OK - [ ] CHANGELOG modifié Reviewed-on: #18 Co-authored-by: tristan <tristan@yuno.malio.fr> Co-committed-by: tristan <tristan@yuno.malio.fr>
This commit was merged in pull request #18.
This commit is contained in:
@@ -115,15 +115,15 @@ describe('MalioInputUpload', () => {
|
||||
it('shows error message and styles', () => {
|
||||
const wrapper = mountComponent({error: 'Fichier requis'})
|
||||
|
||||
expect(wrapper.get('p.text-m-error').text()).toBe('Fichier requis')
|
||||
expect(wrapper.get('input[type="text"]').classes()).toContain('border-m-error')
|
||||
expect(wrapper.get('p.text-m-danger').text()).toBe('Fichier requis')
|
||||
expect(wrapper.get('input[type="text"]').classes()).toContain('border-m-danger')
|
||||
expect(wrapper.get('input[type="text"]').attributes('aria-invalid')).toBe('true')
|
||||
})
|
||||
|
||||
it('shows error style on icon', () => {
|
||||
const wrapper = mountComponent({error: 'Error'})
|
||||
|
||||
expect(wrapper.get('[data-test="icon"]').classes()).toContain('text-m-error')
|
||||
expect(wrapper.get('[data-test="icon"]').classes()).toContain('text-m-danger')
|
||||
})
|
||||
|
||||
it('shows success message and styles', () => {
|
||||
|
||||
Reference in New Issue
Block a user