I keep getting an error while trying to resolve the aurelia-breeze promise in the aurelia application testing method ( typescript + breeze ).
The testing environment used is karma+jasmine .
Package Version aurelia-breeze 1.0.0
Aurelia breeze uses es prom instead of Q.js , but the testing method looks for Q.js to solve the promise from the wind.
I tried to add the Q library to the window object from the spec file. But breeze.debug.js trying to access Q js from the window object before it is installed in the spec file.
this did not solve the problem.
Please help me solve this problem.
source share