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?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb1e7c-2391.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb1e7c-2391.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?