mirror of
https://github.com/Mueller-Patrick/Betterzon.git
synced 2026-10-11 02:55:33 +00:00
BETTERZON-33: Created product list component
This commit is contained in:
1 parent
717afca067
commit
7d9fcfd310
5 files changed
+45
-1
No files matched your search
@@ -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
|
||||
|
||||
Whitespace-only changes.
@@ -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 {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user