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

chore(e2e): chdir back to the previous dir at the end of a test. #3287

Merged
merged 2 commits into from
Nov 30, 2016

Conversation

hansl
Copy link
Contributor

@hansl hansl commented Nov 25, 2016

No description provided.

@@ -6,8 +6,6 @@ import {expectFileSizeToBeUnder} from '../../../utils/fs';


export default function(argv: any, skipCleaning: () => void) {
const currentDir = process.cwd();
Copy link
Contributor

@Meligy Meligy Nov 27, 2016

Choose a reason for hiding this comment

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

This is needed, because the file uses this variable to switch directories after that (or maybe change https://github.com/angular/angular-cli/pull/3287/files#diff-826d2a48a6d98e1c11c9d7014d637925L27 (scroll up a bit after clicking so you can see the highlighted line) to read from env variables).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This PR solves that.

@hansl
Copy link
Contributor Author

hansl commented Nov 30, 2016

The travis is green, had to cancel it that's why it appears red. Travis seems to be having some problems.

@hansl hansl merged commit 58fea8f into angular:master Nov 30, 2016
@hansl hansl deleted the e2e-chdir-back branch November 30, 2016 01:27
MRHarrison pushed a commit to MRHarrison/angular-cli that referenced this pull request Feb 9, 2017
@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.

4 participants