Commit 0c435d546a01aef00844894914df03524805dc49
1 parent
0745876df8
Exists in
master
and in
1 other branch
Creado componente header.
Showing
4 changed files
with
43 additions
and
0 deletions
Show diff stats
src/app/header/header.component.html
src/app/header/header.component.scss
src/app/header/header.component.spec.ts
... | ... | @@ -0,0 +1,25 @@ |
1 | +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | |
2 | + | |
3 | +import { HeaderComponent } from './header.component'; | |
4 | + | |
5 | +describe('HeaderComponent', () => { | |
6 | + let component: HeaderComponent; | |
7 | + let fixture: ComponentFixture<HeaderComponent>; | |
8 | + | |
9 | + beforeEach(async(() => { | |
10 | + TestBed.configureTestingModule({ | |
11 | + declarations: [HeaderComponent] | |
12 | + }) | |
13 | + .compileComponents(); | |
14 | + })); | |
15 | + | |
16 | + beforeEach(() => { | |
17 | + fixture = TestBed.createComponent(HeaderComponent); | |
18 | + component = fixture.componentInstance; | |
19 | + fixture.detectChanges(); | |
20 | + }); | |
21 | + | |
22 | + it('should create', () => { | |
23 | + expect(component).toBeTruthy(); | |
24 | + }); | |
25 | +}); |
src/app/header/header.component.ts
... | ... | @@ -0,0 +1,15 @@ |
1 | +import { Component, OnInit } from '@angular/core'; | |
2 | + | |
3 | +@Component({ | |
4 | + selector: 'app-header', | |
5 | + templateUrl: './header.component.html', | |
6 | + styleUrls: ['./header.component.scss'] | |
7 | +}) | |
8 | +export class HeaderComponent implements OnInit { | |
9 | + | |
10 | + constructor() { } | |
11 | + | |
12 | + ngOnInit() { | |
13 | + } | |
14 | + | |
15 | +} |