From 8e5fb202be3fae3f69ab7bcdfb17c21b055a7692 Mon Sep 17 00:00:00 2001 From: Douglas McConnachie Date: Fri, 14 Feb 2020 14:21:59 +0000 Subject: [PATCH] fix(cli): correct root directory in test Fixes error on windows tests. Removes instances of sandbox folder erroniously placed in packages folder. See #4425 Signed-off-by: Douglas McConnachie --- packages/cli/test/integration/generators/app.integration.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/test/integration/generators/app.integration.js b/packages/cli/test/integration/generators/app.integration.js index fbcefffa72ba..2d840fc33994 100644 --- a/packages/cli/test/integration/generators/app.integration.js +++ b/packages/cli/test/integration/generators/app.integration.js @@ -217,7 +217,7 @@ process.env.CI && !process.env.DEBUG /** For testing if the generator handles default values properly */ describe('app-generator with default values', () => { - const rootDir = path.join(__dirname, '../../../..'); + const rootDir = path.join(__dirname, '../../../../../'); const defaultValProjPath = path.join(rootDir, 'sandbox/default-value-app'); const sandbox = path.join(rootDir, 'sandbox'); const pathToDefValApp = path.join(defaultValProjPath, 'default-value-app'); @@ -256,7 +256,7 @@ describe('app-generator with default values', () => { * Use differnt paths to test out the support of `~` when the test runs outside of home dir. */ describe('app-generator with tilde project path', () => { - const rootDir = path.join(__dirname, '../../../..'); + const rootDir = path.join(__dirname, '../../../../../'); // tildify the path: let sandbox = path.join(rootDir, 'sandbox/tilde-path-app'); let pathWithTilde = tildify(sandbox);