90ed4a213f
Release / release (push) Successful in 1m10s
| 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>
19 lines
696 B
TypeScript
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,
|
|
},
|
|
})
|