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

Class WrongPromise

packages/zone.js/test/common/zone.spec.ts:411–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409
410 it('should throw error if ZoneAwarePromise has been overwritten', () => {
411 class WrongPromise {
412 static resolve(value: any) {}
413
414 then() {}
415 }
416
417 const ZoneAwarePromise = global.Promise;
418 try {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…