Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
HughParry committed Jul 25, 2024
1 parent baa3d03 commit 16ee23e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe('PowCaptchaManager', () => {
const timeout = 1000

;(checkRecentPowSolution as any).mockImplementation(() => {
throw new ProsopoEnvError('CAPTCHA.INVALID_RECENT_POW', {
throw new ProsopoEnvError('CAPTCHA.INVALID_CAPTCHA_CHALLENGE', {
context: {
failedFuncName: 'verifyPowCaptchaSolution',
},
Expand All @@ -114,7 +114,7 @@ describe('PowCaptchaManager', () => {
await expect(
powCaptchaManager.verifyPowCaptchaSolution(challenge, difficulty, signature, nonce, timeout)
).rejects.toThrow(
new ProsopoEnvError('CAPTCHA.INVALID_RECENT_POW', {
new ProsopoEnvError('CAPTCHA.INVALID_CAPTCHA_CHALLENGE', {
context: {
failedFuncName: 'verifyPowCaptchaSolution',
},
Expand Down

0 comments on commit 16ee23e

Please sign in to comment.