Jestjs 重复的文件名-index.js-jest-haste-map

Jestjs 重复的文件名-index.js-jest-haste-map,jestjs,Jestjs,我得到这个错误与笑话-文件路径是不同的,这使我想知道为什么这是抱怨?我想我被告知index.js是一个重复的名称,即使mock位于不同的路径上——当然不是?我在测试文件中使用了这两个文件中的mock-我不能用jest使用索引文件吗 jest-haste-map: duplicate manual mock found: index The following files share their name; please delete one of them: * <rootDi

我得到这个错误与笑话-文件路径是不同的,这使我想知道为什么这是抱怨?我想我被告知index.js是一个重复的名称,即使mock位于不同的路径上——当然不是?我在测试文件中使用了这两个文件中的mock-我不能用jest使用索引文件吗

jest-haste-map: duplicate manual mock found: index
  The following files share their name; please delete one of them:
    * <rootDir>/dist/Actions/SendDistributions/__mocks__/index.js
    * <rootDir>/dist/Actions/SendQualifications/__mocks__/index.js

jest-haste-map: duplicate manual mock found: index
  The following files share their name; please delete one of them:
    * <rootDir>/dist/Actions/SendQualifications/__mocks__/index.js
    * <rootDir>/dist/Actions/SendLeads/__mocks__/index.js

jest-haste映射:找到重复的手动模拟:索引
以下文件共享其名称;请删除其中一项:
*/dist/Actions/SendDistributions/\uuuuu mocks\uuuuu/index.js
*/dist/Actions/SendQualifications/\uuuuuu mocks\uuuuuu/index.js
jest haste映射:找到重复的手动模拟:索引
以下文件共享其名称;请删除其中一项:
*/dist/Actions/SendQualifications/\uuuuuu mocks\uuuuuu/index.js
*/dist/Actions/SendLeads/\uuuu mocks\uuuuu/index.js