6 changed files with 47 additions and 1 deletions
@ -1,3 +1,4 @@ |
|||
|
|||
<app-navbar></app-navbar> |
|||
<router-outlet></router-outlet> |
|||
<app-footer></app-footer> |
|||
|
@ -0,0 +1,3 @@ |
|||
<p> |
|||
navbar works! |
|||
</p> |
@ -0,0 +1,25 @@ |
|||
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; |
|||
|
|||
import { NavbarComponent } from './navbar.component'; |
|||
|
|||
describe('NavbarComponent', () => { |
|||
let component: NavbarComponent; |
|||
let fixture: ComponentFixture<NavbarComponent>; |
|||
|
|||
beforeEach(async(() => { |
|||
TestBed.configureTestingModule({ |
|||
declarations: [ NavbarComponent ] |
|||
}) |
|||
.compileComponents(); |
|||
})); |
|||
|
|||
beforeEach(() => { |
|||
fixture = TestBed.createComponent(NavbarComponent); |
|||
component = fixture.componentInstance; |
|||
fixture.detectChanges(); |
|||
}); |
|||
|
|||
it('should create', () => { |
|||
expect(component).toBeTruthy(); |
|||
}); |
|||
}); |
@ -0,0 +1,15 @@ |
|||
import { Component, OnInit } from '@angular/core'; |
|||
|
|||
@Component({ |
|||
selector: 'app-navbar', |
|||
templateUrl: './navbar.component.html', |
|||
styleUrls: ['./navbar.component.css'] |
|||
}) |
|||
export class NavbarComponent implements OnInit { |
|||
|
|||
constructor() { } |
|||
|
|||
ngOnInit() { |
|||
} |
|||
|
|||
} |
Loading…
Reference in new issue