Could you tell me how to do the interface mocha/enzyme unit test?

use mocha&enzyme for component unit testing. Now, due to webpack configuration problems, mocha load error is reported. Is there any configuration scheme?

clipboard.png

all kinds of loader error webpackrc used by dva this file does not know how to get to the interface mocha configuration to run.

Mar.18,2021
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-1ea64fc-47b8d.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-1ea64fc-47b8d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?