mirror of
https://github.com/Mueller-Patrick/Betterzon.git
synced 2024-11-12 17:43:57 +00:00
BETTERZON-33: Created product list component
This commit is contained in:
parent
717afca067
commit
7d9fcfd310
|
@ -3,11 +3,13 @@ import { NgModule } from '@angular/core';
|
|||
|
||||
import { AppComponent } from './app.component';
|
||||
import { HelloWorldComponent } from './hello-world/hello-world.component';
|
||||
import { ProductListComponentComponent } from './product-list-component/product-list-component.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
AppComponent,
|
||||
HelloWorldComponent
|
||||
HelloWorldComponent,
|
||||
ProductListComponentComponent
|
||||
],
|
||||
imports: [
|
||||
BrowserModule
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
<meta charset="UTF-8">
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { ProductListComponentComponent } from './product-list-component.component';
|
||||
|
||||
describe('ProductListComponentComponent', () => {
|
||||
let component: ProductListComponentComponent;
|
||||
let fixture: ComponentFixture<ProductListComponentComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [ ProductListComponentComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(ProductListComponentComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
|
@ -0,0 +1,15 @@
|
|||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-product-list-component',
|
||||
templateUrl: './product-list-component.component.html',
|
||||
styleUrls: ['./product-list-component.component.css']
|
||||
})
|
||||
export class ProductListComponentComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user