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

[ENHANCEMENT] Use absolute import paths for tests -> app imports #5203

Merged
merged 1 commit into from Jan 26, 2016

Conversation

kamalaknn
Copy link
Contributor

As per @stefanpenner 's comment.

I used dasherizedModulePrefix instead of dasherizedPackageName to preserve existing behavior - app namespace for apps, and dummy for addons.

If this looks good I can update other blueprints

  • helper-test
  • initializer-test
  • instance-initializer-test
  • mixin-test

@stefanpenner
Copy link
Contributor

@rwjblue r+

@rwjblue
Copy link
Member

rwjblue commented Jan 26, 2016

@homu r+

@homu
Copy link
Contributor

homu commented Jan 26, 2016

📌 Commit 4853733 has been approved by rwjblue

@homu
Copy link
Contributor

homu commented Jan 26, 2016

⌛ Testing commit 4853733 with merge bdc5465...

homu added a commit that referenced this pull request Jan 26, 2016
…rwjblue

[ENHANCEMENT] Use absolute import paths for tests -> app imports

As per @stefanpenner 's [comment](#5194 (comment)).

I used `dasherizedModulePrefix` instead of `dasherizedPackageName` to preserve existing behavior - app namespace for apps, and dummy for addons.

If this looks good I can update other blueprints
 - `helper-test`
 - `initializer-test`
 - `instance-initializer-test`
 - `mixin-test`
@homu
Copy link
Contributor

homu commented Jan 26, 2016

☀️ Test successful - status

@homu homu merged commit 4853733 into ember-cli:master Jan 26, 2016
@kamalaknn kamalaknn deleted the absolute-imports-for-tests-to-app branch January 26, 2016 17:16
@kamalaknn
Copy link
Contributor Author

I will be travelling this week. I'll try to update the rest of the blueprints sometime early next week. Thanks.

homu added a commit that referenced this pull request Feb 16, 2016
[ENHANCEMENT] Use absolute imports in tests

Continuation of #5203
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.

None yet

4 participants