Potential test fix

This commit is contained in:
Yana De Pauw
2022-04-26 17:34:05 +02:00
parent d8b6e65f6f
commit aac41a76cf

View File

@@ -102,12 +102,9 @@ describe('BrowseByComponent', () => {
],
schemas: [NO_ERRORS_SCHEMA]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(BrowseByComponent);
comp = fixture.componentInstance;
});
}));
it('should display a loading message when objects is empty', () => {
(comp as any).objects = undefined;