style: format api mock return type and test imports/JSON body
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user