Closed davidnixon closed 1 year ago
Hi and thanks for reporting the issue!
As you mention, the actual method in v6 (for Vue 3) is rerender
, aligned with other testing library methods (source).
I think updateProps should be removed from the vue section and replaced with something similar to the react doc.
Agree – docs are still talking about the v5 version of vue testing library, which works for Vue 2 (for instance they talk about the callback configuration function, which is no longer available). They need an update – fancy to work on it? It'd be greatly appreciated 😉
Describe the bug A clear and concise description of what the bug is.
https://testing-library.com/docs/vue-testing-library/api#updatepropsprops Does not exist
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
updateProps
is not defined butrerender
is defined and works as expected according to the react docs https://testing-library.com/docs/react-testing-library/api/#rerenderI think
updateProps
should be removed from the vue section and replaced with something similar to the react doc.Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here. package.json