@angular/common/testing

SpyLocation

Class

A spy for Location that allows tests to fire simulated location events.

  
    class SpyLocation implements Location {}
  
  
Jump to details