Skip to content

Commit

Permalink
fix: move primeicon.utils to testing folder
Browse files Browse the repository at this point in the history
  • Loading branch information
anninowak committed Feb 28, 2024
1 parent 4754a4c commit 9c5aca1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ describe('PageHeaderComponent', () => {
},
{
label: 'Done?',
icon: PrimeIcons.CHECK,
icon: PrimeIcons.EXCLAMATION_CIRCLE,
},
{
label: 'Empty',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { ContentContainerComponentHarness, TestElement } from '@angular/cdk/testing'
import { PSelectButtonHarness } from './primeng/p-selectButton.harness'
import { PrimeIcons } from 'primeng/api'

type PrimeIcon = (typeof PrimeIcons)[keyof Omit<typeof PrimeIcons, 'prototype'>]
import { PrimeIcon } from './utils/primeicon.utils'

export class DataLayoutSelectionHarness extends ContentContainerComponentHarness {
static hostSelector = 'ocx-data-layout-selection'
Expand Down
2 changes: 2 additions & 0 deletions libs/portal-integration-angular/testing/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@ export * from './p-tableCheckbox.harness'
export * from './create-or-edit-search-config-dialog.harness'
export * from './lifecycle.harness'

export * from './utils/primeicon.utils'

export * from '@angular/cdk/testing'
export * from '@angular/cdk/testing/testbed'
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { PrimeIcons } from 'primeng/api'

export type PrimeIcon = (typeof PrimeIcons)[keyof Omit<typeof PrimeIcons, 'prototype'>]

0 comments on commit 9c5aca1

Please sign in to comment.