Angular - Testing
Given this test snippet, what will
location.path() return after navigation?const fixture = TestBed.createComponent(AppComponent); const router = TestBed.inject(Router); const location = TestBed.inject(Location); router.navigate(['/dashboard']); fixture.detectChanges(); await fixture.whenStable(); console.log(location.path());
