MCPcopy
hub / github.com/angular/angular / spy

Function spy

packages/zone.js/test/test-env-setup-mocha.ts:15–18  ·  view source on GitHub ↗
(...params: any[])

Source from the content-addressed store, hash-verified

13 context['jasmine'] = context['jasmine'] || {};
14 context['jasmine'].createSpy = function (spyName: string) {
15 let spy: any = function (...params: any[]) {
16 spy.countCall++;
17 spy.callArgs = params;
18 };
19
20 spy.countCall = 0;
21

Callers 4

field_node.spec.tsFile · 0.85
Error.spec.tsFile · 0.85
zone.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected