We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0a2a119 + 3477b45 commit 55e34d5Copy full SHA for 55e34d5
src/internal/fetch.ts
@@ -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
+ * */
6
import { NEW_ACTIVITIES_ENDPOINT } from "./constants";
7
8
const F = window.fetch;
@@ -47,4 +52,5 @@ export const fetchWrapper: typeof window.fetch = async (...args: Parameters<type
47
52
}
48
53
};
49
54
50
-window.fetch = fetchWrapper;
55
+window.fetch = fetchWrapper;
56
+
0 commit comments