Skip to content

Commit

Permalink
feat(ui): Fix unit tests for MaxLinesComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
Angi-Kinas committed Dec 20, 2023
1 parent 8622d11 commit 5ce1402
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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: `
Expand All @@ -22,6 +23,8 @@ describe('MaxLinesComponent', () => {

beforeEach(() => {
TestBed.configureTestingModule({
imports: [TranslateModule.forRoot()],
providers: [importProvidersFrom(TranslateModule.forRoot())],
declarations: [MaxLinesComponent, TestHostComponent],
})
fixture = TestBed.createComponent(TestHostComponent)
Expand Down

0 comments on commit 5ce1402

Please sign in to comment.