Skip to content

Commit 55e34d5

Browse files
authored
Merge pull request #10 from getyourguide/fetch-notes
adds a do not modify note to fetch.ts
2 parents 0a2a119 + 3477b45 commit 55e34d5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/internal/fetch.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* DO NOT MODIFY
3+
* This file is a mock of the fetch function.
4+
* It is used to simulate network errors.
5+
* */
16
import { NEW_ACTIVITIES_ENDPOINT } from "./constants";
27

38
const F = window.fetch;
@@ -47,4 +52,5 @@ export const fetchWrapper: typeof window.fetch = async (...args: Parameters<type
4752
}
4853
};
4954

50-
window.fetch = fetchWrapper;
55+
window.fetch = fetchWrapper;
56+

0 commit comments

Comments
 (0)