Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ember-cli-update to 2.16 #200

Merged
merged 1 commit into from
Dec 18, 2017
Merged

Conversation

Dhaulagiri
Copy link
Contributor

Putting this out here in hopes that someone can help me push this across the finish line. I'll leave a comment on the problem areas.

@@ -75,13 +75,13 @@ describe('Integration: XSelectActionsComponent', function() {
{{#xs.option value="Hello"}}Hello{{/xs.option}}
{{/x-select}}
`);
Ember.warn = sinon.spy();
warn = sinon.spy();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rwjblue I had pinged you about this a couple months ago in the ember-cli-babel repo but lost track of it while on leave. With this change here things blow up because warn is undefined. Is there a better way to do this with the new modules api?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correction, the error is:

"warn" is read-only

@Dhaulagiri Dhaulagiri force-pushed the br-2.16 branch 2 times, most recently from 564736e to a7c97f1 Compare November 22, 2017 15:41
@cowboyd
Copy link
Collaborator

cowboyd commented Nov 27, 2017

@Dhaulagiri In order to spy on warn, we'd need to actually reach into @ember/debug Not sure the best way to do that.

@Dhaulagiri
Copy link
Contributor Author

@cowboyd in the interest of unblocking this I undid the modules change to that test file since it is not really critical at this point. I still think there is something wrong with how Ember.warn is being transpiled here but I need to do more digging.

@Robdel12 Robdel12 merged commit f8b7885 into adopted-ember-addons:master Dec 18, 2017
@Dhaulagiri Dhaulagiri deleted the br-2.16 branch January 16, 2018 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants