Skip to content

Commit

Permalink
fix useGetCollectionFacets.spec.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ekraffmiller committed Oct 29, 2024
1 parent c8eec6b commit de5de97
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { useGetCollectionFacets } from '../../../../src/sections/create-collecti
import { CollectionRepository } from '../../../../src/collection/domain/repositories/CollectionRepository'
import { CollectionFacetMother } from '../../collection/domain/models/CollectionFacetMother'

import { ROOT_COLLECTION_ALIAS } from '@tests/e2e-integration/shared/collection/CollectionHelper'

const collectionRepository: CollectionRepository = {} as CollectionRepository
const collectionFacetsMock = CollectionFacetMother.createFacets()

Expand All @@ -15,7 +13,7 @@ describe('useGetCollectionFacets', () => {
const { result } = renderHook(() =>
useGetCollectionFacets({
collectionRepository,
collectionId: ROOT_COLLECTION_ALIAS
collectionId: 'collectionId'
})
)

Expand All @@ -38,7 +36,7 @@ describe('useGetCollectionFacets', () => {
const { result } = renderHook(() =>
useGetCollectionFacets({
collectionRepository,
collectionId: ROOT_COLLECTION_ALIAS
collectionId: 'collectionId'
})
)

Expand All @@ -59,7 +57,7 @@ describe('useGetCollectionFacets', () => {
const { result } = renderHook(() =>
useGetCollectionFacets({
collectionRepository,
collectionId: ROOT_COLLECTION_ALIAS
collectionId: 'collectionId'
})
)

Expand Down

0 comments on commit de5de97

Please sign in to comment.