Vue 3 + Jest + Vue Test Utils installing GridPlugin on a test

Good morning,

I am trying to install GridPlugin in a Vue Test Utils test to be able to test a component with a Grid inside. To install it I follow the instructions on Vue Test Utils documentation for Vue 3 projects:
https://next.vue-test-utils.vuejs.org/guide/extending-vtu/plugins.html#using-a-plugin

I have created a minimum project to reproduce the problem:
The test:

The error:

If I skip the installation of the plugin I have a warning:


This tests, used to work in a previous version.

Apart from that, trying to install the plugin in a test has problems with TypeScripts types check:


Hope all this information is enough to reproduce and solve the problem.

Thanks in advance.



Attachment: syncfusiontest_62579b4c.rar

2 Replies

AG Ajith Govarthan Syncfusion Team October 6, 2021 03:15 AM UTC

Hi Alberto, 

Thanks for contacting Syncfusion support. 

Query: I am trying to install GridPlugin in a Vue Test Utils test to be able to test a component with a Grid inside. To install it I follow the instructions on Vue Test Utils documentation for Vue 3 projects: 
 
Based on your query, you are facing issue while installing the grid plugin in your application. So, currently we are validating your reported issue at our end and we will update further details on or before 8th October 2021. 

Until then we appreciate your patience. 

Regards, 
Ajith G. 



GV Gokulraj Varatharajan Syncfusion Team October 12, 2021 11:32 AM UTC

Hi Alberto, 
 
Sorry for the inconvenience. 
 
We would like to let you know that we are unable to use the plugins in the Vue 3 due to architectural chanegs in the Vue 3 . So we have suugest you to use the component as per the below documentation for Vue 3. 
 
 
Regards, 
Gokul 


Loader.
Up arrow icon