MCPcopy
hub / github.com/pocketbase/js-sdk / restore

Method restore

tests/mocks.ts:104–106  ·  view source on GitHub ↗

* Restore the original node fetch function.

()

Source from the content-addressed store, hash-verified

102 * Restore the original node fetch function.
103 */
104 restore() {
105 (global.fetch as any) = this.originalFetch;
106 }
107
108 /**
109 * Clears all registered mocks.

Calls

no outgoing calls

Tested by

no test coverage detected