MCPcopy
hub / github.com/Unitech/pm2 / resetMock

Function resetMock

modules/pm2-io-agent/test/units/InteractorClient.mocha.js:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 })
29}
30const resetMock = _ => {
31 Object.keys(mockeds).forEach((method) => {
32 InteractorClient[method] = mockeds[method]
33 })
34}
35
36describe('InteractorClient', () => {
37 describe('ping', _ => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…