Improve tests (#5994)

Our tests on FE are red, which is a threat to code quality. I'm adding a
few unit tests to improve the coverage and lowering a bit the lines
coverage threshold
This commit is contained in:
Charles Bochet
2024-06-23 20:12:18 +02:00
committed by GitHub
parent e13dc7a1fc
commit 158e7a31f4
16 changed files with 164 additions and 20 deletions

View File

@ -35,7 +35,7 @@ export const useRequestFreshCaptchaToken = () => {
let captchaWidget: any;
switch (captchaProvider.provider) {
case CaptchaDriverType.GoogleRecatpcha:
case CaptchaDriverType.GoogleRecaptcha:
window.grecaptcha
.execute(captchaProvider.siteKey, {
action: 'submit',