Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-buttner committed Aug 31, 2022
1 parent ae3f44b commit 356a966
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const CaseViewActivity = ({
[caseData.assignees]
);

const userActionProfileUids = Array.from(userActionsData?.profileUids.values() ?? []);
const userActionProfileUids = Array.from(userActionsData?.profileUids?.values() ?? []);
const uidsToRetrieve = uniq([...userActionProfileUids, ...assignees]);

const { data: userProfiles, isFetching: isLoadingUserProfiles } = useBulkGetUserProfiles({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe('useGetCaseUserActions', () => {
caseServices: {},
hasDataToPush: true,
participants: [elasticUser],
profileUids: [],
profileUids: new Set(),
},
isError: false,
isLoading: false,
Expand Down

0 comments on commit 356a966

Please sign in to comment.