feat: vitest setup + auth middleware — token invalide et absent → 401

This commit is contained in:
2026-03-14 23:19:45 +01:00
parent 01d347bce3
commit 9f53193c7c
4 changed files with 1851 additions and 5 deletions

8
backend/vitest.config.ts Normal file
View File

@@ -0,0 +1,8 @@
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
environment: "node",
globals: true,
},
});