Added article search component

This commit is contained in:
Eraldo Hasanaj
2019-01-18 18:06:03 +01:00
parent 63513e5967
commit bb92121c60
4 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
<p>
article-search works!
</p>

View File

View File

@@ -0,0 +1,25 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ArticleSearchComponent } from './article-search.component';
describe('ArticleSearchComponent', () => {
let component: ArticleSearchComponent;
let fixture: ComponentFixture<ArticleSearchComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ ArticleSearchComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ArticleSearchComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-article-search',
templateUrl: './article-search.component.html',
styleUrls: ['./article-search.component.scss']
})
export class ArticleSearchComponent implements OnInit {
constructor() { }
ngOnInit() {
}
}