Skip to content
Snippets Groups Projects
Commit 1bee72e9 authored by OZGCloud's avatar OZGCloud
Browse files

1062 add components for postfach messages

parent 53511248
No related branches found
No related tags found
No related merge requests found
<goofy-client-postfach-message *ngFor="let message of messageBlock"></goofy-client-postfach-message>
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { PostfachMessageBlockComponent } from './postfach-message-block.component';
import { MockComponent } from 'ng-mocks';
import { PostfachMessageComponent } from './postfach-message/postfach-message.component';
describe('PostfachMessageBlockComponent', () => {
let component: PostfachMessageBlockComponent;
let fixture: ComponentFixture<PostfachMessageBlockComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [
PostfachMessageBlockComponent,
MockComponent(PostfachMessageComponent)
]
})
.compileComponents();
});
beforeEach(() => {
fixture = TestBed.createComponent(PostfachMessageBlockComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, Input, OnInit } from '@angular/core';
@Component({
selector: 'goofy-client-postfach-message-block',
templateUrl: './postfach-message-block.component.html',
styleUrls: ['./postfach-message-block.component.scss']
})
export class PostfachMessageBlockComponent {
@Input() messageBlock: [];
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment