https://github.com/angular/angular
Raw File
Tip revision: a10fe450d93eacbe45ba0a1892d0bbe63fc81b51 authored by Zach Arend on 03 March 2021, 23:09:28 UTC
release: cut the v12.0.0-next.3 release
Tip revision: a10fe45
spies.ts
/**
 * @license
 * Copyright Google LLC 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);
  }
}
back to top