diff --git a/frontend/app/src/people/widgetViews/summaries/wantedSummaries/__tests__/CodingBounty.spec.tsx b/frontend/app/src/people/widgetViews/summaries/wantedSummaries/__tests__/CodingBounty.spec.tsx
index 6c7a18832..73bbf02de 100644
--- a/frontend/app/src/people/widgetViews/summaries/wantedSummaries/__tests__/CodingBounty.spec.tsx
+++ b/frontend/app/src/people/widgetViews/summaries/wantedSummaries/__tests__/CodingBounty.spec.tsx
@@ -104,6 +104,7 @@ describe('MobileView component', () => {
assignee: undefined as any,
title: ''
};
+
it('should render titleString on the screen', () => {
render();
const titleElement = screen.getByText('Test Title');
@@ -144,12 +145,14 @@ describe('MobileView component', () => {
});
describe('MobileView Component Payment Status', () => {
it('renders unpaidString when paidStatus is false', () => {
- render();
+ const testProps = {...defaultProps, org: { owner_pubkey: 'UserPubKey' }, paid: false};
+ render();
expect(screen.getByText(unpaidString)).toBeInTheDocument();
});
it('renders paidString when paidStatus is true', () => {
- render();
+ const testProps = {...defaultProps, org: { owner_pubkey: 'UserPubKey' }, paid: true};
+ render();
expect(screen.getByText(paidString)).toBeInTheDocument();
});
});