0
當我嘗試建立一個督促輪廓戰爭,與MVN -Pprod包,我得到這個錯誤,一飲而盡:Jhipster:不能建立督促輪廓戰爭:一口測試失敗
TypeError: undefined is not an object (evaluating '$httpBackend.verifyNoOutstandingExpectation') in /home/myapp/dev/workspace/applicationRh/src/test/javascript/spec/app/services/auth/auth.services.spec.js (line 9)
/home/myapp/dev/workspace/applicationRh/src/test/javascript/spec/app/services/auth/auth.services.spec.js:9:1596
PhantomJS 2.1.1 (Linux 0.0.0): Executed 64 of 64 (64 FAILED) (0 secs/1.231 secs)
PhantomJS 2.1.1 (Linux 0.0.0): Executed 64 of 64 (64 FAILED) ERROR (2.671 secs/1.231 secs)
[22:28:40] 'test' errored after 9.84 s
[22:28:40] Error: 1
at formatError (/usr/lib/node_modules/gulp/bin/gulp.js:169:10)
有誰知道關於這個問題?
我的一個受訓者在app.module.js ....中注入了一些不良依賴項,導致測試失敗。 ..:) 謝謝。 – user1260928