Commit b5e0b2fa565d0da6f7e99aa688cc8bf9bc7c1a9c
1 parent
e6edea50be
Exists in
develop
Add
Componente sinonimo
Showing
4 changed files
with
41 additions
and
0 deletions
 
Show diff stats
src/app/shared/sinonimo/sinonimo.component.html
| File was created | 1 | <p>sinonimo works!</p> | |
| 2 | 
src/app/shared/sinonimo/sinonimo.component.scss
src/app/shared/sinonimo/sinonimo.component.spec.ts
| File was created | 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | |
| 2 | |||
| 3 | import { SinonimoComponent } from './sinonimo.component'; | ||
| 4 | |||
| 5 | describe('SinonimoComponent', () => { | ||
| 6 | let component: SinonimoComponent; | ||
| 7 | let fixture: ComponentFixture<SinonimoComponent>; | ||
| 8 | |||
| 9 | beforeEach(async(() => { | ||
| 10 | TestBed.configureTestingModule({ | ||
| 11 | declarations: [ SinonimoComponent ] | ||
| 12 | }) | ||
| 13 | .compileComponents(); | ||
| 14 | })); | ||
| 15 | |||
| 16 | beforeEach(() => { | ||
| 17 | fixture = TestBed.createComponent(SinonimoComponent); | ||
| 18 | component = fixture.componentInstance; | ||
| 19 | fixture.detectChanges(); | ||
| 20 | }); | ||
| 21 | |||
| 22 | it('should create', () => { | ||
| 23 | expect(component).toBeTruthy(); | ||
| 24 | }); | ||
| 25 | }); | ||
| 26 | 
src/app/shared/sinonimo/sinonimo.component.ts
| File was created | 1 | import { Component, OnInit } from '@angular/core'; | |
| 2 | |||
| 3 | @Component({ | ||
| 4 | selector: 'app-sinonimo', | ||
| 5 | templateUrl: './sinonimo.component.html', | ||
| 6 | styleUrls: ['./sinonimo.component.scss'] | ||
| 7 | }) | ||
| 8 | export class SinonimoComponent implements OnInit { | ||
| 9 | |||
| 10 | constructor() { } | ||
| 11 | |||
| 12 | ngOnInit() { | ||
| 13 | } | ||
| 14 | |||
| 15 | } | ||
| 16 |