test: vitest setup + auth/login/cookie banner tests

This commit is contained in:
neckfire
2026-06-20 12:57:13 +02:00
parent 7a4206a522
commit bfdb3d3d9a
8 changed files with 996 additions and 6 deletions
+7
View File
@@ -0,0 +1,7 @@
/* Configuration globale des tests : matchers jest-dom + nettoyage du localStorage */
import '@testing-library/jest-dom';
import { afterEach } from 'vitest';
afterEach(() => {
localStorage.clear();
});