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

Function freshRequire

test/stakeBootstrap.test.js:15–18  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

13const Module = require('module');
14
15function freshRequire(id) {
16 delete require.cache[require.resolve(id)];
17 return require(id);
18}
19
20function installA2aProtocolStub(nodeId, hubUrl) {
21 const target = require.resolve('../src/gep/a2aProtocol');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected