ITADN

Update @vue/test-utils to 2.4.6 to fix transition stub error

#322OpenHai-San 创建于 2024-12-11
bug
H
Hai-Sancommented
Starting with version 3.4.22, Vue will now generate an alert for components that use transition. When I checked, I saw that this was converted to version 2.4.6 of @vue/test-utils, but vue-testing-library still uses version 2.4.1, where the alert appears. [Here is the ISSUE report in @vue/test-utils](https://github.com/vuejs/test-utils/issues/2430) [Here is the PR for the fix in @vue/test-utils](https://github.com/vuejs/test-utils/issues/2411) **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: To reproduce the bug, just have a component that uses <transition> and vue 3.4.22 or higher and @testing-library/vue 8.1.0 **Related information:** - `@testing-library/vue` version: 8.1.0 - `Vue` version: 3.4.22 or bigger - `node` version: 20 - `npm` (or `yarn`) version: pnpm 9.15.0
0 条评论