Files
malio-layer-ui/vitest.config.ts
T
tristan 90ed4a213f
Release / release (push) Successful in 1m10s
fix: MalioDate + MalioDateTime (#72)
| Numéro du ticket | Titre du ticket |
|------------------|-----------------|
|                  |                 |

## Description de la PR

## Modification du .env

## Check list

- [ ] Pas de régression
- [x] TU/TI/TF rédigée
- [x] TU/TI/TF OK
- [x] CHANGELOG modifié

---------

Co-authored-by: admin malio <malio@yuno.malio.fr>
Co-authored-by: THOLOT DECHENE Matthieu <matthieu@yuno.malio.fr>
Co-authored-by: matthieu <matthieu@yuno.malio.fr>
Reviewed-on: #72
Co-authored-by: tristan <tristan@yuno.malio.fr>
Co-committed-by: tristan <tristan@yuno.malio.fr>
2026-06-11 15:46:43 +00:00

19 lines
696 B
TypeScript

import { defineConfig } from 'vitest/config'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
test: {
environment: 'jsdom',
include: ['app/**/*.test.ts'],
// La suite de composants (jsdom + focus/popover/async) est sujette à des
// échecs intermittents sous charge : timeouts par contention CPU, et quelques
// assertions de timing qui se déclenchent avant stabilisation du DOM.
// testTimeout élargi : absorbe la contention (12 workers jsdom concurrents).
// retry : rejoue les flaky de timing diffus (ne masque PAS un échec déterministe,
// qui rate ses 3 tentatives).
testTimeout: 15000,
retry: 2,
},
})