Skip to content

Commit

Permalink
chore: quality
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstankiewicz committed Dec 12, 2024
1 parent ff14552 commit 5476101
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ describe('useEnterpriseCourseEnrollments', () => {
if (hasQueryOptions) {
return useEnterpriseCourseEnrollments(queryOptions);
}
return useEnterpriseCourseEnrollments()
return useEnterpriseCourseEnrollments();
},
{ wrapper: Wrapper }
{ wrapper: Wrapper },
);
await waitForNextUpdate();

Expand Down
6 changes: 2 additions & 4 deletions src/components/app/data/hooks/useSubscriptions.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ describe('useSubscriptions', () => {
};
let mockSelect = jest.fn((data) => data);
if (isBFFQueryEnabled) {
mockSelect = jest.fn(({ original, transformed }) => {
return transformed.subscriptionLicense;
})
mockSelect = jest.fn(({ transformed }) => transformed.subscriptionLicense);
}
const queryOptions = hasQueryOptions ? { select: mockSelect } : undefined;
const mockSubscriptionLicensesByStatus = {
Expand Down Expand Up @@ -122,7 +120,7 @@ describe('useSubscriptions', () => {
}
return useSubscriptions();
},
{ wrapper: Wrapper }
{ wrapper: Wrapper },
);

await waitForNextUpdate();
Expand Down

0 comments on commit 5476101

Please sign in to comment.