Testing intern grunt无法加载被测试包的同级包

Testing intern grunt无法加载被测试包的同级包,testing,dojo,intern,Testing,Dojo,Intern,在一个包中加载测试时遇到了一个问题,这个包的依赖项是被测试包的兄弟 当前提交的混乱代码位于。 这个包的兄弟依赖项是dojo和dcl,因此我使用loader intern config将baseUrl设置为“..”,即 loader: { baseUrl: '..', packages: [ 'delite', 'dojo', 'dcl' ] } 加载grunt test:local任务时,tests intern/inte

在一个包中加载测试时遇到了一个问题,这个包的依赖项是被测试包的兄弟

当前提交的混乱代码位于。 这个包的兄弟依赖项是dojo和dcl,因此我使用loader intern config将baseUrl设置为“..”,即

loader: {
    baseUrl: '..',
    packages: [
        'delite',
        'dojo',
        'dcl'
    ]
}
加载grunt test:local任务时,tests intern/intern.local intern config将通过grunt加载,但client.html单元测试不会解析intern.local

GET http://localhost:9000/tests-intern/intern.local.js 404 (Not Found) dojo.js:725
Uncaught Error: Failed to load module tests-intern/intern.local from /tests-intern/intern.local.js (parent: *2)
但是,如果我将客户端html的URL更改为
http://localhost:9000/__intern/client.html?baseUrl=%2F&config=delite/tests-实习生%2Intern.local和reporters=webdriver和sessionId=48ba4743-2475-478c-b7a2-d94d661782ae
,测试将成功运行

这感觉像是第22条陷阱,因为如果我将intern Grunt任务配置更改为
config:'delite/tests intern/intern.local'
任务将不会加载intern.local.js


这可能吗?如果可能,怎么可能?

因此,对于发现此问题的任何其他人,它在intern中被标记为一个bug,我正在等待标记的发布