diff --git a/src/pages/people/tabs/__tests__/Wanted.spec.tsx b/src/pages/people/tabs/__tests__/Wanted.spec.tsx index 37ff8d2d..37f2243e 100644 --- a/src/pages/people/tabs/__tests__/Wanted.spec.tsx +++ b/src/pages/people/tabs/__tests__/Wanted.spec.tsx @@ -103,7 +103,7 @@ describe('Wanted Component', () => { } }); - const mockedPersonAssignedBounites = jest + const mockedPersonCreatedBounites = jest .spyOn(mainStore, 'getPersonCreatedBounties') .mockReturnValue(Promise.resolve([userBounty])); act(async () => { @@ -120,7 +120,7 @@ describe('Wanted Component', () => { fireEvent.click(clickAssignedCheckBox); - expect(mockedPersonAssignedBounites).toHaveBeenCalledWith({ + expect(mockedPersonCreatedBounites).toHaveBeenCalledWith({ Assigned: true, Open: false, Paid: false