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

feat(generate): add ability to specify module for import #3811

Merged
merged 1 commit into from
Jan 3, 2017

Conversation

Brocco
Copy link
Contributor

@Brocco Brocco commented Dec 31, 2016

Closes #3806

@Brocco Brocco force-pushed the gen-module-select branch 11 times, most recently from 81fce00 to a76fa63 Compare January 2, 2017 01:45
/import { TestComponentComponent } from '.\/test-component\/test-component.component'/))

// Try to run the unit tests.
.then(() => ng('test', '--single-run'));
Copy link
Contributor

Choose a reason for hiding this comment

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

This won't actually test if the import was correctly added, since we have no tests for app.module.ts and it's not included in the test.ts compilation. You can do ng build instead though, that'll compile it and thus verify the import.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call, fixed this for components, directives, pipes & services

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Allow specification of module when generating
3 participants