How vue-test-utils tests instructions in components

clipboard.png

how does the jest, used configure jest so that he can recognize instructions in the component

< hr >

because the instruction is mounted globally in main.js, the instruction file cannot be read during test, and it cannot be temporarily changed to import the instruction file separately by a single component. If there is a way to set the global test file, please let us know, 3Q

.
Mar.20,2021

has just encountered the same problem. Does the subject have a new solution now?

Menu