Closed lolmaus closed 8 years ago
@lolmaus Are you including sinon from npm? This addon currently requires the sinonjs
package to be installed via bower for import sinon from 'sinon';
to work.
This addon currently requires the sinonjs package to be installed via bower for import sinon from 'sinon'; to work.
That's what I was initially doing, but it stopped working after upgrading Ember CLI. So I removed it and instead installed Sinon from npm via ember-browserify
.
That's strange. I have apps using Ember CLI 1.13.13 and didn't have to change anything.
I'm also not sure what @rwjblue means by
they need to be updated to deal with latest loader.js
I'm assuming it's related to our shim file?
Was mostly talking about how ember-cli-blanket changes the loader. See https://github.com/sglanzer/ember-cli-blanket/issues/85. I haven't debugged this issue directly though, so things could have changed since the last time I helped someone with it.
I'll close this until someone else chimes in with his report.
After upgrading my project to Ember CLI 1.13.13, all my tests broke.
I replaced
ember-sinon
withsinon
,from 'sinon'
withfrom 'npm:sinon'
-- and it works now.Also, this: