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
Menu