Skip to content
Snippets Groups Projects
Commit 2a5996be authored by jojohoch's avatar jojohoch
Browse files

[player] Add basic test for SectionComponent

parent 5e2009e1
No related branches found
No related tags found
No related merge requests found
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SectionComponent } from './section.component';
describe('SectionComponent', () => {
let component: SectionComponent;
let fixture: ComponentFixture<SectionComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [
SectionComponent
]
})
.compileComponents();
});
beforeEach(async () => {
fixture = TestBed.createComponent(SectionComponent);
component = fixture.componentInstance;
component.section = {
elements: [],
height: 400,
backgroundColor: '#ffffff',
dynamicPositioning: true,
autoColumnSize: true,
autoRowSize: true,
gridColumnSizes: '1fr 1fr',
gridRowSizes: '1fr',
activeAfterID: ''
};
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment