MCPcopy Index your code
hub / github.com/angular/angular / testFnWithLoggedTransitionTo

Function testFnWithLoggedTransitionTo

packages/zone.js/test/common/task.spec.ts:30–36  ·  view source on GitHub ↗
(testFn: Function)

Source from the content-addressed store, hash-verified

28};
29
30function testFnWithLoggedTransitionTo(testFn: Function) {
31 return function (this: unknown) {
32 detectTask.constructor.prototype._transitionTo = logTransitionTo;
33 testFn.apply(this, arguments);
34 detectTask.constructor.prototype._transitionTo = originalTransitionTo;
35 };
36}
37
38describe('task lifecycle', () => {
39 describe('event task lifecycle', () => {

Callers 1

task.spec.tsFile · 0.85

Calls 1

applyMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…