@angular/common/testing

MockLocationStrategy

Class

A mock implementation of LocationStrategy that allows tests to fire simulated location events.

  
    class MockLocationStrategy extends LocationStrategy {}
  
  
Jump to details