vue-testing-library icon indicating copy to clipboard operation
vue-testing-library copied to clipboard

🦎 Simple and complete Vue.js testing utilities that encourage good testing practices.

Results 38 vue-testing-library issues
Sort by recently updated
recently updated
newest added

**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: ```javscript const result = render(MyComponent, {...

good first issue
chore

**Describe the bug** A clear and concise description of what the bug is. According to the vue-test-utils documentation it is possible to register global stuff using `config.global.*`, so for instance...

bug

Hi! 👋 Reactivity does not seem to work when using the vue compat build. For example these tests will work with `vue` 3, but not with `@vue/compat`: ```javascript import {ref,...

bug

**Describe the bug** When installing `@testing-library/vue` in a project with `[email protected]+` and no `@vue/compiler-sfc` a warning of missing `@vue/compiler-sfc` peer dependencies is shown **To Reproduce** Steps to reproduce the behavior:...

bug

**Describe the bug**: Starting from [email protected], `@vue/compiler-sfc` is [built-in dependency in Vue](https://www.npmjs.com/package/@vue/compiler-sfc). But removing it from dependencies list will cause package manager to warn about unmet dependency. **To Reproduce**: Install...

I'll use this issue to keep track of all efforts to support Vue 3 in the next major version of Vue Testing Library. All feedback is appreciated! 🚀 --- Support...

Hello folks, I'm having this error when [rendering a component from a Storybook story](https://github.com/storybookjs/testing-vue). I think it might be something related to the vue constructor, since the error doesn't happen...

needs reproduction

**Describe the bug** A clear and concise description of what the bug is. I'm using Vue + TSX + Vuex + Vuetify, and I've created a render helper function to...

## Description This project lists [`vuex` as a dev dependency](https://github.com/testing-library/vue-testing-library/blob/a620424be19e3158b89b575b7603aa7ab5d9f9ec/package.json#L79), but then [the implementation of `render` requires `vuex`](https://github.com/testing-library/vue-testing-library/blob/a620424be19e3158b89b575b7603aa7ab5d9f9ec/src/render.js#L31). As a result, consuming projects that may not use `vuex` in their...

needs reproduction

Struggling to test a async component. I created a suspense wrapper component with `defineComponent` which i think should work but it doesn't: ```TypeScript it("renders a async component with a suspense...

bug