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
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/cli/test/integration/generators/app.integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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);
Expand Down