I used React Testing-Library, but not Vue Testing-Library before https://testing-library.com/docs/vue-testing-library/intro/ and I don't want to use m ...
I used React Testing-Library, but not Vue Testing-Library before https://testing-library.com/docs/vue-testing-library/intro/ and I don't want to use m ...
Hello I changed my code from fetch to axios and when I run my tests I get this problem... Can anyone help me with that ? SyntaxError: Cannot use im ...
I start to create unit tests for production app with use jest and @testing-library/vue and support libs. I make first test: for it component: Te ...
. Answers to this question are eligible for a +150 reputation bounty. N ...
I am struggling to understand how I can test the rendering of items based on the results of a call to a Pina getter in my Vue 3 app (using the Vue Tes ...
I'm having a couple of issues with my Vue test libs. I am trying to test a mixin. It requires setting the route and mocking a function. Here is my cod ...
I am trying to convert string to blob but I keep getting {} instead fileDict is always [{file:{}}], I need it in that format because loadcsv reads ...
Struggling with testing-library and a Vue component with Vuex. This is the component, it has a watcher: I thought a good test would be to render th ...
I'm trying to use @testing-library/vue and import the screen method and ESLint reports the following error: "screen not found in @testing-library/vue" ...
I am unable to run simple jest tests in my vue3 project using @testing-library/vue and jest-environment-jsdom. When I run npm run test I get the follo ...
I'm new to Vue and especially with the composition functions. I'm trying to test a component that uses the script setup; however, it seems that it is ...
I have a form that contains a selector reusable component like this I'm going to test this form by using vue-test-utils and vitest. I need to set o ...
I'm using vuejs, vue-testing-library, jest, axios, and axios-mock-adapter to test a component. I'm immediately running into the following error when t ...
I'm testing a Vue component but I'm having trouble testing a button's disabled state. How can I access a button's disabled status in my tests? I've t ...
I have a component with a strait forward Edit button. The Edit button calls a method that sets isEditing to true. There are a few input elements with ...
I'm trying to implement some Testing Library tests on a Vuejs app, but I can't figure out how to pass props to a component within the test. For examp ...
I'm trying to set up a component test with Vue Testing Library and Apollo as described in their example. However, when I do this, TypeScript yells ...
I created a global guard that uses getters from store. I am trying to mock some getters from store for testing purpose. The problem is that mocking ...
I'm trying to create some tests for a checkbox component but looks like I can't make an assertion for an input[type="checkbox"] when is disabled. In ...
I can't seem to get the following example to work with vue3 and testing library. https://github.com/testing-library/vue-testing-library/blob/main/src/ ...