Skip to content

Commit

Permalink
fix: fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
anninowak committed Mar 7, 2024
1 parent 71a98f2 commit c0a073e
Showing 1 changed file with 1 addition and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations'
import { TranslateService } from '@ngx-translate/core'
import { MessageModule } from 'primeng/message'
import { MockAuthModule } from '../../../mock-auth/mock-auth.module'
import { SearchConfigPrimitive, SearchConfig } from '../../../model/search-config'
import { SearchConfigPrimitive } from '../../../model/search-config'

Check failure on line 9 in libs/portal-integration-angular/src/lib/core/components/search-config/search-config.component.spec.ts

View workflow job for this annotation

GitHub Actions / main

'SearchConfigPrimitive' is defined but never used
import { TestbedHarnessEnvironment } from '@angular/cdk/testing/testbed'
import { SearchConfigHarness } from '../../../../../testing'
import { PrimeNgModule } from '../../primeng.module'
Expand All @@ -18,19 +18,6 @@ describe('SearchConfigComponent', () => {
let component: SearchConfigComponent
let fixture: ComponentFixture<SearchConfigComponent>

const searchConfigurations: Record<string, SearchConfigPrimitive>[] = [
{
name: 'test',
startDate: undefined,
endDate: undefined,
},
{
name: 'example',
startDate: new Date(2023, 0, 15, 12, 30, 45),
endDate: new Date(2023, 0, 19, 12, 30, 45),
},
]

const searchConfigs: SearchConfigInfo[] = [
{
id: '01',
Expand Down

0 comments on commit c0a073e

Please sign in to comment.