diff --git a/libs/ui/elements/src/lib/max-lines/max-lines.component.spec.ts b/libs/ui/elements/src/lib/max-lines/max-lines.component.spec.ts index 00a857e1ff..dc28d6869c 100644 --- a/libs/ui/elements/src/lib/max-lines/max-lines.component.spec.ts +++ b/libs/ui/elements/src/lib/max-lines/max-lines.component.spec.ts @@ -1,7 +1,8 @@ import { ComponentFixture, TestBed } from '@angular/core/testing' import { MaxLinesComponent } from './max-lines.component' -import { Component } from '@angular/core' +import { Component, importProvidersFrom } from '@angular/core' +import { TranslateModule } from '@ngx-translate/core' @Component({ template: ` @@ -22,6 +23,8 @@ describe('MaxLinesComponent', () => { beforeEach(() => { TestBed.configureTestingModule({ + imports: [TranslateModule.forRoot()], + providers: [importProvidersFrom(TranslateModule.forRoot())], declarations: [MaxLinesComponent, TestHostComponent], }) fixture = TestBed.createComponent(TestHostComponent)