mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-06-01 03:52:56 +00:00
Tests:
- More tests have been added.
This commit is contained in:
@@ -21,7 +21,7 @@ export function interceptFetchForLogging() {
|
||||
},
|
||||
});
|
||||
try {
|
||||
const res = await originalFetch(...params);
|
||||
const res = await originalFetch.apply(globalThis, params as any);
|
||||
console.log(`[Obsidian Mock] Fetch response: ${res.status} ${res.statusText} for ${method} ${url}`);
|
||||
const resClone = res.clone();
|
||||
const contentType = resClone.headers.get("content-type") || "";
|
||||
|
||||
Reference in New Issue
Block a user