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

Make tests at least boot in IE and sort package.json alphabetically #272

Merged
merged 1 commit into from
Dec 15, 2017

Conversation

cibernox
Copy link
Contributor

No description provided.

@@ -21,7 +21,7 @@
// that happen _between_ acceptance tests will always share
// `pendingRequests`.
_Ember.Application.reopen({
willDestroy() {
willDestroy: function() {
Copy link
Member

Choose a reason for hiding this comment

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

with #271 this should not be necessary anymore

package.json Outdated
"ember-data": "~2.17.0",
"ember-debug-handlers-polyfill": "^1.0.3",
"ember-disable-prototype-extensions": "^1.1.2",
"ember-fetch": "^3.4.0",
"ember-load-initializers": "^1.0.0",
"ember-maybe-import-regenerator": "^0.1.6",
Copy link
Member

Choose a reason for hiding this comment

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

we should probably use https://github.com/ember-cli/ember-maybe-import-regenerator-for-testing instead since the production code should not use async/await

Copy link
Member

Choose a reason for hiding this comment

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

Agreed, and just to be clear we do have linting setup to catch any async / await usage in addon-test-support...

package.json Outdated
"ember-cli-shims": "^1.2.0",
"ember-cli-test-loader": "^2.2.0",
"ember-cli": "^2.17.1",
Copy link
Member

Choose a reason for hiding this comment

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

I don't think that is the default order that npm and yarn use. I usually use https://github.com/keithamus/sort-package-json to sort this correctly.

@@ -1,4 +1,9 @@
/* eslint-env node */
module.exports = {
browsers: ['last 1 Chrome versions', 'last 1 Firefox versions', 'last 1 Safari versions'],
browsers: [
'ie 11',
Copy link
Member

Choose a reason for hiding this comment

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

Lets do this conditionally? I really like debugging with native async/await, and we only need IE11 support in smaller cases.

I was thinking of something like: http://rwjblue.com/2017/10/30/async-await-configuration-adventure/#10limittargetsduringlocaldevelopmenttesting

@cibernox cibernox force-pushed the make-x-broser-compatible-part-1 branch from c6ede32 to cfb9d8a Compare December 15, 2017 16:05
@cibernox cibernox force-pushed the make-x-broser-compatible-part-1 branch from cfb9d8a to 868997b Compare December 15, 2017 16:08
@rwjblue rwjblue merged commit 0b25318 into emberjs:master Dec 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants