Skip to content

Commit 978119f

Browse files
committed
renaming tests and resizing icon
1 parent 714361a commit 978119f

File tree

12 files changed

+24
-24
lines changed

12 files changed

+24
-24
lines changed

src/app/app-routing.module.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
import { NgModule } from '@angular/core';
22
import { Routes, RouterModule } from '@angular/router';
3-
import { GettingStartedComponent } from './components/optionsSidebar/getting-started/getting-started.component';
4-
import { ReportsComponent } from './components/optionsSidebar/reports/reports.component';
5-
import { TimeClockComponent } from './components/optionsSidebar/time-clock/time-clock.component';
6-
import { TimeEntriesComponent } from './components/optionsSidebar/time-entries/time-entries.component';
7-
import { TimeOffComponent } from './components/optionsSidebar/time-off/time-off.component';
3+
import { GettingStartedComponent } from './components/options-sidebar/getting-started/getting-started.component';
4+
import { ReportsComponent } from './components/options-sidebar/reports/reports.component';
5+
import { TimeClockComponent } from './components/options-sidebar/time-clock/time-clock.component';
6+
import { TimeEntriesComponent } from './components/options-sidebar/time-entries/time-entries.component';
7+
import { TimeOffComponent } from './components/options-sidebar/time-off/time-off.component';
88

99

1010
const routes: Routes = [
11-
{path: 'gettingStarted', component: GettingStartedComponent},
11+
{path: 'getting-started', component: GettingStartedComponent},
1212
{path: 'reports', component: ReportsComponent},
13-
{path: 'timeClock', component: TimeClockComponent},
14-
{path: 'timeEntries', component: TimeEntriesComponent},
15-
{path: 'timeOff', component: TimeOffComponent},
16-
{path: '', pathMatch: 'full', redirectTo: 'gettingStarted'},
17-
{path: '**', pathMatch: 'full', redirectTo: 'gettingStarted'},
13+
{path: 'time-clock', component: TimeClockComponent},
14+
{path: 'time-entries', component: TimeEntriesComponent},
15+
{path: 'time-off', component: TimeOffComponent},
16+
{path: '', pathMatch: 'full', redirectTo: 'getting-started'},
17+
{path: '**', pathMatch: 'full', redirectTo: 'getting-started'},
1818
];
1919

2020
@NgModule({

src/app/components/options-sidebar/getting-started/getting-started.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('GettingStartedComponent', () => {
1919
fixture.detectChanges();
2020
});
2121

22-
it('should create', () => {
22+
it('should be created', () => {
2323
expect(component).toBeTruthy();
2424
});
2525
});

src/app/components/options-sidebar/reports/reports.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('ReportsComponent', () => {
1919
fixture.detectChanges();
2020
});
2121

22-
it('should create', () => {
22+
it('should be created', () => {
2323
expect(component).toBeTruthy();
2424
});
2525
});

src/app/components/options-sidebar/time-clock/time-clock.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('TimeClockComponent', () => {
1919
fixture.detectChanges();
2020
});
2121

22-
it('should create', () => {
22+
it('should be created', () => {
2323
expect(component).toBeTruthy();
2424
});
2525
});

src/app/components/options-sidebar/time-entries/time-entries.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('TimeEntriesComponent', () => {
1919
fixture.detectChanges();
2020
});
2121

22-
it('should create', () => {
22+
it('should be created', () => {
2323
expect(component).toBeTruthy();
2424
});
2525
});

src/app/components/options-sidebar/time-off/time-off.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('TimeOffComponent', () => {
1919
fixture.detectChanges();
2020
});
2121

22-
it('should create', () => {
22+
it('should be created', () => {
2323
expect(component).toBeTruthy();
2424
});
2525
});

src/app/components/shared/navbar/navbar.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<nav class="navbar navbar-dark bg-dark">
22
<a class="navbar-brand" href="#">
3-
<img src="assets/img/ioet.png" width="40" height="40" class="d-inline-block align-top" alt="">
3+
<img src="assets/img/ioet.png" width="20" height="35" class="d-inline-block align-top" alt="">
44
</a>
55

66
<app-clock class="text-center"></app-clock>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('NavbarComponent', () => {
1919
fixture.detectChanges();
2020
});
2121

22-
it('should create', () => {
22+
it('should be created', () => {
2323
expect(component).toBeTruthy();
2424
});
2525
});

src/app/components/shared/sidebar/sidebar.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- Sidebar -->
33
<div class="bg-light border-right" id="sidebar-wrapper">
44
<div class="list-group list-group-flush">
5-
<a [routerLink]="['/gettingStarted']" routerLinkActive="dark" class="list-group-item list-group-item-action bg-light"><i class="fas fa-flag"></i> Getting Started</a>
6-
<a [routerLink]="['/timeClock']" routerLinkActive="dark" class="list-group-item list-group-item-action bg-light"><i class="far fa-clock"></i> Time Clock</a>
7-
<a [routerLink]="['/timeEntries']" routerLinkActive="dark" class="list-group-item list-group-item-action bg-light"><i class="far fa-list-alt"></i> Time Entries</a>
8-
<a [routerLink]="['/timeOff']" routerLinkActive="dark" class="list-group-item list-group-item-action bg-light"><i class="far fa-paper-plane"></i> Time Off</a>
5+
<a [routerLink]="['/getting-started']" routerLinkActive="dark" class="list-group-item list-group-item-action bg-light"><i class="fas fa-flag"></i> Getting Started</a>
6+
<a [routerLink]="['/time-clock']" routerLinkActive="dark" class="list-group-item list-group-item-action bg-light"><i class="far fa-clock"></i> Time Clock</a>
7+
<a [routerLink]="['/time-entries']" routerLinkActive="dark" class="list-group-item list-group-item-action bg-light"><i class="far fa-list-alt"></i> Time Entries</a>
8+
<a [routerLink]="['/time-off']" routerLinkActive="dark" class="list-group-item list-group-item-action bg-light"><i class="far fa-paper-plane"></i> Time Off</a>
99
<a [routerLink]="['/reports']" routerLinkActive="dark" class="list-group-item list-group-item-action bg-light"><i class="fas fa-chart-pie"></i> Reports</a>
1010

1111
</div>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('SidebarComponent', () => {
1919
fixture.detectChanges();
2020
});
2121

22-
it('should create', () => {
22+
it('should be created', () => {
2323
expect(component).toBeTruthy();
2424
});
2525
});

0 commit comments

Comments
 (0)