Skip to content

refactor(tests): remove remaining explicit any from test files - #448

Open
Okorie2000-code wants to merge 3 commits into
JSE-ORG:devfrom
Okorie2000-code:refactor/remove-test-any
Open

refactor(tests): remove remaining explicit any from test files#448
Okorie2000-code wants to merge 3 commits into
JSE-ORG:devfrom
Okorie2000-code:refactor/remove-test-any

Conversation

@Okorie2000-code

Copy link
Copy Markdown
Contributor

What

Why

Closes #

How

Checklist

  • Linked issue above, and the scope matches what the issue asked for
  • npm run validate passes locally (typecheck, lint, test)
  • Tests added or updated for the changed behaviour
  • Coverage did not drop
  • No any types introduced
  • Services go through a repository, never Prisma directly
  • No secrets, keys, or real addresses committed
  • Changelog updated for consumer-facing changes, or not needed for internal-only work
  • Conventional commit title, for example fix(escrow): correct auto release eligibility query

Notes for the reviewer

closes #416

@drips-wave

drips-wave Bot commented Jul 27, 2026

Copy link
Copy Markdown

@Okorie2000-code Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Okorie2000-code
Okorie2000-code force-pushed the refactor/remove-test-any branch from 9d616cc to 0a23f65 Compare July 27, 2026 19:31
@Omoboi-dev
Omoboi-dev changed the base branch from main to dev July 28, 2026 10:43
Remove the insecure behavior where verifySignature() silently accepted requests when STELLAR_WEBHOOK_SECRET was not configured.

- Throw InternalServerErrorException instead of returning silently
- Log an explicit configuration error (stellar.webhook.config_error)
- Distinguish config errors from invalid signatures via exception type
- Make STELLAR_WEBHOOK_SECRET Joi-required in production
- Update .env.example to document the production requirement
- Update all unit/integration tests to expect rejection

Closes JSE-ORG#421
@Omoboi-dev

Copy link
Copy Markdown
Contributor

fix your conflict and rebase on dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove the remaining explicit any occurrences across test files

2 participants