Fixing unit test

This commit is contained in:
VitoAlbano
2024-06-22 23:31:04 +01:00
parent b54cc68854
commit bd4ee6a695
6 changed files with 7 additions and 5 deletions

View File

@@ -41,8 +41,7 @@ describe('LibraryFavoriteDirective', () => {
beforeEach(() => {
TestBed.configureTestingModule({
imports: [HttpClientTestingModule, TestComponent],
declarations: [LibraryFavoriteDirective]
imports: [HttpClientTestingModule, TestComponent, LibraryFavoriteDirective]
});
fixture = TestBed.createComponent(TestComponent);
component = fixture.componentInstance;