The project has both client app and server site code and once the project is built locally it will put all the built assets both front-end and back-end stuff into build
directory and it contains all statics assets client needs to use (all test cases are also included there).
进行后续测试 由于在多个名录中存在着人工模拟,因此,最小线将产生如下的警告信息。
jest-haste-map: duplicate manual mock found:
Module name: fileMock
Duplicate Mock path: /Users/x/x/x/x/src/resources/webapp/static/__mocks__/fileMock.js
This warning is caused by two manual mock files with the same file name.
Jest will use the mock file found in:
/Users/x/x/x/x/src/resources/webapp/static/__mocks__/fileMock.js
Please delete one of the following two files:
/Users/x/x/x/x/build/classes/webapp/static/__mocks__/fileMock.js
/Users/x/x/x/x/src/resources/webapp/static/__mocks__/fileMock.js