Skip to content

Commit

Permalink
renamed variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-ae committed Mar 14, 2024
1 parent 1db4c9c commit e4d5d88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/people/tabs/__tests__/Wanted.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ describe('Wanted Component', () => {
}
});

const mockedPersonAssignedBounites = jest
const mockedPersonCreatedBounites = jest
.spyOn(mainStore, 'getPersonCreatedBounties')
.mockReturnValue(Promise.resolve([userBounty]));
act(async () => {
Expand All @@ -120,7 +120,7 @@ describe('Wanted Component', () => {

fireEvent.click(clickAssignedCheckBox);

expect(mockedPersonAssignedBounites).toHaveBeenCalledWith({
expect(mockedPersonCreatedBounites).toHaveBeenCalledWith({
Assigned: true,
Open: false,
Paid: false
Expand Down

0 comments on commit e4d5d88

Please sign in to comment.