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
After doing some research I found out that it is not possible to create custom Vue transitions stubs that call the Javascript hooks like @after-leave in this case and we would have to use what we have currently to ensure that the @after-leave hook in the transition fires.
Chiming in to add that a setTimeout is also used for ScrollTopButton unit test. If this issue can be solved, would be good to change the test cases for that as well
Please confirm that you have searched existing issues in the repo
Yes, I have searched the existing issues
Any related issues?
No related issues.
What is the area that this feature belongs to?
Testing
Is your feature request related to a problem? Please describe.
Currently, a
setTimeout
is being used to handle the transitions when testing theQuiz
component inQuiz.spec.js
. This was introduced by #2184.Describe the solution you'd like
A stub could reduce the time taken for testing by removing the time needed for the transition to complete.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: