Skip to content
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

Error en tests de WebApp #216

Closed
UO277876 opened this issue Apr 23, 2022 · 2 comments
Closed

Error en tests de WebApp #216

UO277876 opened this issue Apr 23, 2022 · 2 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed tests

Comments

@UO277876
Copy link
Contributor

al ejecutar los test de webbApp me da el siguiente error:
Error: Uncaught [Error: useHref() may be used only in the context of a component.]

@UO277876 UO277876 added bug Something isn't working help wanted Extra attention is needed tests labels Apr 23, 2022
@UO277876 UO277876 self-assigned this Apr 23, 2022
UO277876 added a commit that referenced this issue Apr 23, 2022
Me saltan con el error de la issue #216
@UO277876
Copy link
Contributor Author

He probado a poner las etiquetas de dentro del render de los test pero da otro error en el componente:
Type '{ children: Element; }' is missing the following properties from type 'RouterProps': location, navigator
Si las añado las propiedades que pone, sigue sin ir

@UO277876
Copy link
Contributor Author

Para solucionarlo hay que mover el

de sitio a App y quitarlo de las vistas sueltas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed tests
Projects
None yet
Development

No branches or pull requests

3 participants