Skip to content

Commit 560f325

Browse files
committed
remove hash
1 parent 2e0bc6b commit 560f325

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/app/app-routing.module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { TimeClockComponent } from './components/options-sidebar/time-clock/time
66
import { TimeEntriesComponent } from './components/options-sidebar/time-entries/time-entries.component';
77
import { TimeOffComponent } from './components/options-sidebar/time-off/time-off.component';
88
import { ProjectManagementComponent } from './components/options-sidebar/project-management/project-management.component';
9+
import { NavbarComponent } from './components/shared/navbar/navbar.component';
910

1011
const routes: Routes = [
1112
{path: 'getting-started', component: GettingStartedComponent},
@@ -19,7 +20,7 @@ const routes: Routes = [
1920
];
2021

2122
@NgModule({
22-
imports: [RouterModule.forRoot(routes, { useHash: true })],
23+
imports: [RouterModule.forRoot(routes)],
2324
exports: [RouterModule]
2425
})
2526
export class AppRoutingModule { }

src/app/components/shared/navbar/navbar.component.spec.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,18 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing';
22

33
import { NavbarComponent } from './navbar.component';
44

5+
56
describe('NavbarComponent', () => {
67
let component: NavbarComponent;
78
let fixture: ComponentFixture<NavbarComponent>;
89

10+
function setup() {
11+
// tslint:disable-next-line: no-shadowed-variable
12+
const fixture = TestBed.createComponent(NavbarComponent);
13+
const app = fixture.debugElement.componentInstance;
14+
return { fixture, app };
15+
}
16+
917
beforeEach(async(() => {
1018
TestBed.configureTestingModule({
1119
declarations: [ NavbarComponent ]

0 commit comments

Comments
 (0)