You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a wrapper around captcha component. The captcha component is imported in custom module namely UiModule. When I run unit tests, I have the following error;
Uncaught Error: ReCAPTCHA placeholder element must be empty
I checked this error. This error originates from loading google captcha library more than once.
Here's the beforeEach function of wrapper component;
I don't have any solution currently.
Maybe, the component would unload google recaptcha lib after its ngOnDestroy hook is called? Is it possible @xmaestro ?
I have a wrapper around captcha component. The captcha component is imported in custom module namely
UiModule
. When I run unit tests, I have the following error;I checked this error. This error originates from loading google captcha library more than once.
Here's the beforeEach function of wrapper component;
UiModule declaration has
RecaptchaModule
exports.The text was updated successfully, but these errors were encountered: