This work is needed in preparation for turning tokens into tree-shakable injectables. PR Close #32154
		
			
				
	
	
		
			27 lines
		
	
	
		
			784 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			784 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| /**
 | |
|  * @license
 | |
|  * Copyright Google Inc. All Rights Reserved.
 | |
|  *
 | |
|  * Use of this source code is governed by an MIT-style license that can be
 | |
|  * found in the LICENSE file at https://angular.io/license
 | |
|  */
 | |
| 
 | |
| import {DomAdapter} from '@angular/common/src/dom_adapter';
 | |
| import {ElementRef} from '@angular/core';
 | |
| import {ChangeDetectorRef} from '@angular/core/src/change_detection/change_detection';
 | |
| import {SpyObject} from '@angular/core/testing/src/testing_internal';
 | |
| 
 | |
| export class SpyChangeDetectorRef extends SpyObject {
 | |
|   constructor() {
 | |
|     super(ChangeDetectorRef);
 | |
|     this.spy('detectChanges');
 | |
|     this.spy('checkNoChanges');
 | |
|   }
 | |
| }
 | |
| 
 | |
| export class SpyIterableDifferFactory extends SpyObject {}
 | |
| 
 | |
| export class SpyElementRef extends SpyObject {
 | |
|   constructor() { super(ElementRef); }
 | |
| }
 |