parent
7433da546f
commit
3f307ff061
@ -369,8 +369,8 @@ describe('LocationService', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should call locationChanged when window history changes', () => {
|
it('should call locationChanged when window history changes', () => {
|
||||||
const locationStrategy: MockLocationStrategy = injector.get(LocationStrategy);
|
const locationStrategy: MockLocationStrategy = injector.get(LocationStrategy);
|
||||||
locationStrategy.simulatePopState('/next-url');
|
locationStrategy.simulatePopState('/next-url');
|
||||||
|
|
||||||
expect(gaLocationChanged.calls.count()).toBe(2, 'gaService.locationChanged');
|
expect(gaLocationChanged.calls.count()).toBe(2, 'gaService.locationChanged');
|
||||||
const args = gaLocationChanged.calls.argsFor(1);
|
const args = gaLocationChanged.calls.argsFor(1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user