Skip to content

Add recaptcha utility methods #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Jul 17, 2025
Merged

Add recaptcha utility methods #1

merged 20 commits into from
Jul 17, 2025

Conversation

jonnyg23
Copy link
Collaborator

Description

  • Adds front-end utility methods for recaptcha.
  • Tests methods w/ mocha.

Motivation and Context

This adds helper functions for recaptcha that will be used by the front-end.

How Has This Been Tested?

Locally & with npm run test.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Related Issues

@jonnyg23 jonnyg23 requested a review from dlongley July 15, 2025 16:51
jonnyg23 and others added 11 commits July 16, 2025 07:43
Co-authored-by: Dave Longley <[email protected]>
Co-authored-by: Dave Longley <[email protected]>
Co-authored-by: David I. Lehn <[email protected]>
Co-authored-by: David I. Lehn <[email protected]>
- Fix JSDocs
- Make `loadRecaptchaScript` an async function
- Fix broken tests
- Use `file:..` import for testing
@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Copy link
Member

@dlongley dlongley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor nit but otherwise LGTM. @davidlehn once you approve and the nit is addressed can you publish this? Thanks!

@jonnyg23 jonnyg23 requested a review from davidlehn July 17, 2025 12:57
@davidlehn davidlehn merged commit 90d5daf into main Jul 17, 2025
4 checks passed
@davidlehn davidlehn deleted the add-recaptcha-helpers branch July 17, 2025 23:21
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.

5 participants