Closed elraphty closed 8 months ago
Assign
Assign
@ecurrencyhodler
@ecurrencyhodler can I work on this ?
Sorry missed this. It's yours.
@KumarNayan do you have an update on this issue? Also can you submit your pr to the frontend repo but tag this issue in the backend repo?
@KumarNayan do you have an update on this issue? Also can you submit your pr to the frontend repo but tag this issue in the backend repo?
Hi @ecurrencyhodler sorry for the delay. PR is up for review.
Context
TicketModalPage.tsx Displays a single bounty in a modal. Add component test coverage.
File to be tested
src/pages/tickets/__tests__/TicketModalPage.spec.tsx
Create file
src/pages/tickets/__tests__/TicketModalPage.spec.tsx
Make a mock bounty and return the mock bounty when
TicketModalPage.tsx
makes agetBounty()
call, also mock themain.getBountyIndexById()
call to return your mock bounty index.Check
frontend/app/src/people/main/__tests__/MainHeader.spec.tsx
for exampleWe want to test that the TicketModalPage displays the right data
Acceptance Criteria
{host}/bounty/{bountyId}
is hit.You can use this PR as an example
https://github.com/stakwork/sphinx-tribes/pull/1185