Skip to content

Commit

Permalink
fix no match request mock
Browse files Browse the repository at this point in the history
  • Loading branch information
capitalist42 committed May 20, 2024
1 parent 00c2b08 commit 4535e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/wallet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ describe('receive', () => {
expect(/[0-9a-f]{64}/.test(t.token[0].proofs[0].secret)).toBe(true);
});
test('test receive could not verify proofs', async () => {
nock(mintUrl).post('/v1/split').reply(200, { code: 0, error: 'could not verify proofs.' });
nock(mintUrl).post('/v1/swap').reply(200, { code: 0, error: 'could not verify proofs.' });
const wallet = new CashuWallet(mint, { unit });

const { tokensWithErrors } = await wallet.receive(tokenInput);
Expand Down

0 comments on commit 4535e0f

Please sign in to comment.