Skip to content

Commit

Permalink
Update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Jan 17, 2025
1 parent fd53849 commit 005f32a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions web/src/components/software/SoftwarePage.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,7 @@ jest.mock("~/queries/software", () => ({
useProposal: () => testingProposal,
useProposalChanges: jest.fn(),
useRepositories: () => [],
useRepositoryMutation: () => {
return {
mutate: jest.fn(),
};
},
useRepositoryMutation: () => ({ mutate: jest.fn() }),
}));

describe("SoftwarePage", () => {
Expand Down

0 comments on commit 005f32a

Please sign in to comment.