Mise en place du framework de test #58
@@ -29,7 +29,7 @@ export function mockFetch(
|
||||
_originalFetch = globalThis.fetch;
|
||||
_calls = [];
|
||||
|
||||
globalThis.fetch = async (
|
||||
globalThis.fetch = (
|
||||
input: string | URL | Request,
|
||||
init?: RequestInit,
|
||||
): Promise<Response> => {
|
||||
|
||||
Reference in New Issue
Block a user