MCPcopy Create free account
hub / github.com/EvoMap/evolver / restore

Function restore

test/proxyHubFetchRouting.test.js:32–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 return {
31 proxyModule,
32 restore() {
33 if (oldProxy) require.cache[proxyPath] = oldProxy;
34 else delete require.cache[proxyPath];
35 if (oldHubFetch) require.cache[hubFetchPath] = oldHubFetch;
36 else delete require.cache[hubFetchPath];
37 },
38 };
39}
40

Callers 3

oauthLogin.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected