Skip to content

Commit

Permalink
not once
Browse files Browse the repository at this point in the history
  • Loading branch information
dskloetd committed Nov 6, 2024
1 parent cf8f4e9 commit 43fb486
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -602,9 +602,7 @@ describe("neurons api-service", () => {
};

it("should call claimOrRefreshNeuronByMemo api", async () => {
vi.spyOn(api, "claimOrRefreshNeuronByMemo").mockResolvedValueOnce(
neuronId
);
vi.spyOn(api, "claimOrRefreshNeuronByMemo").mockResolvedValue(neuronId);
expect(
await governanceApiService.claimOrRefreshNeuronByMemo(params)
).toEqual(neuronId);
Expand Down

0 comments on commit 43fb486

Please sign in to comment.