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

Function freshModule

test/hubUrlResolution.test.js:20–24  ·  view source on GitHub ↗
(modulePath)

Source from the content-addressed store, hash-verified

18}
19
20function freshModule(modulePath) {
21 const resolved = require.resolve(modulePath);
22 delete require.cache[resolved];
23 return require(resolved);
24}
25
26describe('config.resolveHubUrl', () => {
27 const savedEnv = {};

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected