How do vue unit tests render subcomponents? You can only render the first layer with vue-test-utils, but not the second layer such as < el-button >?

as shown in the figure, mount only renders one layer. How does dom, render the second layer? Because the need for the table traversal after the simulation click, the second layer does not render can not get the elements, can not be traversed!


since all the element ui components mounted by createLocalvue, to vue are gone, you just need to register again

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-1b3130c-2bd8e.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-1b3130c-2bd8e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?