+
+
+ ← Retour à la liste
+
+
Nouvelle carte
+
+
+
+ )
+}
diff --git a/src/app/cards/page.test.tsx b/src/app/cards/page.test.tsx
new file mode 100644
index 0000000..bdf7b10
--- /dev/null
+++ b/src/app/cards/page.test.tsx
@@ -0,0 +1,25 @@
+import { render, screen } from '@testing-library/react'
+import { describe, expect, it, vi } from 'vitest'
+import CardsPage from './page'
+
+vi.mock('@/lib/api-client', () => ({
+ ApiClientError: class extends Error {
+ status = 0
+ },
+ cardsApi: { list: vi.fn() },
+}))
+
+import { cardsApi } from '@/lib/api-client'
+
+describe('CardsPage', () => {
+ it('affiche la liste des cartes et un lien vers la création (F-05, F-08)', async () => {
+ vi.mocked(cardsApi.list).mockResolvedValue([])
+ render(