-
Notifications
You must be signed in to change notification settings - Fork 12k
fix(tests): use current package in e2e tests #195
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
Conversation
@@ -18,11 +18,10 @@ describe('Basic end-to-end Workflow', function () { | |||
it('Installs angular-cli correctly', function() { | |||
this.timeout(300000); | |||
|
|||
sh.exec('npm link', { silent: true }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need to pass in the path to angular-cli?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I got this correctly, tests are always initiated from the root, which is why the setup with tmp
dir works.
Although to be perfectly honest I couldn't find what the -C
flag in npm install
did in the command I removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I'm pretty sure you need to pass in the path to angular-cli.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npm link doesn't seem to take a path to link globally, only to link locally. Is there a missing argument in these docs that you know of?
Thanks! I was about to spend time on this, but if this works then 👍 Lets see what Travis says. |
There's something missing actually, also need to link inside the generated project. sec |
c25985e
to
cbf59c6
Compare
Closing this PR for now, as it it not fixing what is it intended to fix. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Close #194