MCPcopy Create free account
hub / github.com/angular/dev-infra / addMockDispatch

Function addMockDispatch

github-actions/browserstack/set-browserstack-env.js:11005–11011  ·  view source on GitHub ↗
(mockDispatches, key, data)

Source from the content-addressed store, hash-verified

11003 Error.captureStackTrace(this, _MockNotMatchedError);
11004 this.name = "MockNotMatchedError";
11005 this.message = message || "The request does not match any registered mock dispatches";
11006 this.code = "UND_MOCK_ERR_MOCK_NOT_MATCHED";
11007 }
11008 static [Symbol.hasInstance](instance) {
11009 return instance && instance[kMockNotMatchedError] === true;
11010 }
11011 };
11012 _a = kMockNotMatchedError;
11013 var MockNotMatchedError = _MockNotMatchedError;
11014 module.exports = {

Callers 2

replyMethod · 0.70
replyWithErrorMethod · 0.70

Calls 3

__spreadValuesFunction · 0.70
__spreadPropsFunction · 0.70
pushMethod · 0.45

Tested by

no test coverage detected