Closed Danjavia closed 7 years ago
I seem to also be having the same issue, and enquire is a dep of a dep of mine. I'm using the paulirish polyfill. https://github.com/paulirish/matchMedia.js/issues/66
IIRC phantom doesn't include matchMedia. Having done a quick google, seems that this problem has come up before, see #91. Stubbing matchMedia as you have done is the correct solution I guess
Pls, can you helpme?
I installed a npm dependency that includes enquirejs. But I have issues when try to run tests into my project because
I don't know how to solve this issue.
this is my code
I tried in all methods. Above, below but the same error ever.
Can U help me?
I cant to solve the issue putting
into enquirejs/src/include/wrap.js into the dist file for npm installed module. But it isn't a pretty solution.