Skip to content

Commit

Permalink
fix few more testcases
Browse files Browse the repository at this point in the history
  • Loading branch information
Divs-B committed Jan 24, 2025
1 parent a176d51 commit 0fdc49e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,9 @@ export const finalStateWhenAddNewCollection = {
toDate: '2024-08-13T00:00:00Z',
},
items: [],
targetedRegions: [],
excludedRegions: [],
suppressImages: undefined,
},
'bf3428ed-4ee8-4321-8099-6590d0b51fd6': {
id: 'bf3428ed-4ee8-4321-8099-6590d0b51fd6',
Expand All @@ -815,6 +818,9 @@ export const finalStateWhenAddNewCollection = {
updatedBy: 'Divya Bhatt ',
updatedEmail: '[email protected]',
items: [],
targetedRegions: [],
excludedRegions: [],
suppressImages: undefined,
},
},
},
Expand Down
1 change: 0 additions & 1 deletion fronts-client/src/components/CollectionDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ const CollectionToggleContainer = styled.div`
max-width: 130px;
display: flex;
justify-content: flex-end;
z-index: 2;
:hover {
${ButtonCircularWithTransition} {
background-color: ${theme.button.backgroundColorFocused};
Expand Down
4 changes: 4 additions & 0 deletions fronts-client/src/fixtures/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,8 @@ const collectionWithSupportingArticles = {
],
id: 'exampleCollection',
displayName: 'Example Collection',
targetedRegions: [],
excludedRegions: [],
};

const stateWithCollection: any = {
Expand Down Expand Up @@ -748,6 +750,8 @@ const stateWithCollectionAndSupporting: any = {
live: ['abc'],
draft: [],
previously: undefined,
targetedRegions: [],
excludedRegions: [],
},
},
},
Expand Down

0 comments on commit 0fdc49e

Please sign in to comment.