Skip to content

Commit

Permalink
Fix missing module import in test
Browse files Browse the repository at this point in the history
  • Loading branch information
J12934 committed Jul 23, 2023
1 parent 22dabe5 commit 32ed474
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Expand Up @@ -2,13 +2,17 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'

import { CategoryFilterComponent } from './category-filter.component'
import { EnrichedChallenge } from 'src/app/score-board-preview/types/EnrichedChallenge'
import { TranslateModule } from '@ngx-translate/core'

describe('CategoryFilterComponent', () => {
let component: CategoryFilterComponent
let fixture: ComponentFixture<CategoryFilterComponent>

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [
TranslateModule.forRoot()
],
declarations: [CategoryFilterComponent]
})
.compileComponents()
Expand Down
Expand Up @@ -12,7 +12,6 @@ describe('FilterSettingsComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [TranslateModule.forRoot()],

declarations: [FilterSettingsComponent, CategoryFilterComponent]
})
.compileComponents()
Expand Down

0 comments on commit 32ed474

Please sign in to comment.