mirror of
https://github.com/Mueller-Patrick/Betterzon.git
synced 2024-11-10 00:23:58 +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 { AppComponent } from './app.component';
|
||||||
import { HelloWorldComponent } from './hello-world/hello-world.component';
|
import { HelloWorldComponent } from './hello-world/hello-world.component';
|
||||||
|
import { ProductListComponentComponent } from './product-list-component/product-list-component.component';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
AppComponent,
|
AppComponent,
|
||||||
HelloWorldComponent
|
HelloWorldComponent,
|
||||||
|
ProductListComponentComponent
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
BrowserModule
|
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