Вы можете попробовать что-то вроде этого:
.
.
.
beforeEach(() => {
fixture = TestBed.createComponent(DisplayComponent);
component = fixture.componentInstance;
// Set your inputs here
component.display = {...} // Create your object
fixture.detectChanges();
});