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

fix(cli): correct root directory in test #4652

Merged
merged 1 commit into from
Feb 14, 2020

Conversation

dougal83
Copy link
Contributor

Fixes error on windows tests. Removes instances of sandbox folder
erroniously placed in packages folder.

See #4425

Signed-off-by: Douglas McConnachie [email protected]

Checklist

  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide

Fixes error on windows tests.  Removes instances of sandbox folder
erroniously placed in packages folder.

See loopbackio#4425

Signed-off-by: Douglas McConnachie <[email protected]>
@dougal83 dougal83 requested a review from bajtos February 14, 2020 14:24
@dougal83 dougal83 added the os:Windows Issues specific to Windows label Feb 14, 2020
@dougal83 dougal83 requested a review from agnes512 February 14, 2020 14:27
@bajtos
Copy link
Member

bajtos commented Feb 14, 2020

Thank you for the pull request. I think it may be an intentional decision to place the sandbox directory into packages, because that way lerna bootstrap will install dependencies using monorepo-local links to resolve LB4 packages. I don't know if this is applicable to the particular tests you are modifying.

AFAICT, one of the problematic tests was introduced by 6302101 by @agnes512.

Agnes, do you happen to remember what was your intention? What is the correct rootDir value to use?

@agnes512
Copy link
Contributor

I think @dougal83 is right. The test was supposed to be tested in sandbox. I made a mistake, my bad D:

@raymondfeng raymondfeng merged commit f951052 into loopbackio:master Feb 14, 2020
@dougal83 dougal83 deleted the fix-cli-test-root-dir branch February 15, 2020 17:00
dougal83 added a commit to dougal83/loopback-next that referenced this pull request Feb 15, 2020
ensure test app is remove afterward

follows: loopbackio#4652
Signed-off-by: Douglas McConnachie <[email protected]>
dougal83 added a commit to dougal83/loopback-next that referenced this pull request Feb 15, 2020
ensure test app is remove afterward

follows: loopbackio#4652
Signed-off-by: Douglas McConnachie <[email protected]>
dougal83 added a commit to dougal83/loopback-next that referenced this pull request Feb 17, 2020
ensure test app is remove afterward

follows: loopbackio#4652
Signed-off-by: Douglas McConnachie <[email protected]>
raymondfeng pushed a commit that referenced this pull request Feb 17, 2020
ensure test app is remove afterward

follows: #4652
Signed-off-by: Douglas McConnachie <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os:Windows Issues specific to Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants