Skip to content

Commit

Permalink
test(amplify-migration-tests): path fix for override-root file (#8745)
Browse files Browse the repository at this point in the history
  • Loading branch information
ammarkarachi authored Nov 9, 2021
1 parent b12a446 commit 6a0af2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('amplify init', () => {
JSONUtilities.writeJson(cliJsonPath, modifiedCliJson);
// override new env
await amplifyOverrideRoot(projRoot, {});
const srcOverrideFilePath = path.join(__dirname, '..', '..', '..', 'amplify-e2e-tests', 'overrides', 'override-root.ts');
const srcOverrideFilePath = path.join(__dirname, '..', '..', '..', '..', '..', 'amplify-e2e-tests', 'overrides', 'override-root.ts');
const destOverrideFilePath = path.join(projRoot, 'amplify', 'backend', 'awscloudformation', 'override.ts');
fs.copyFileSync(srcOverrideFilePath, destOverrideFilePath);
await amplifyPushOverride(projRoot);
Expand Down

0 comments on commit 6a0af2c

Please sign in to comment.