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