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