style: format api mock return type and test imports/JSON body

This commit is contained in:
2026-04-21 12:02:55 +02:00
committed by djalim
parent 50afe2ae66
commit 4211df32a8
2 changed files with 12 additions and 8 deletions
+5 -1
View File
@@ -106,7 +106,11 @@ export function restoreFetch(): void {
/**
* Retourne la liste des appels fetch interceptés.
*/
export function getFetchCalls(): { url: string; method: string; body?: unknown }[] {
export function getFetchCalls(): {
url: string;
method: string;
body?: unknown;
}[] {
return [..._calls];
}