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 and kaustavghosh06 committed Nov 11, 2021
1 parent c1fbba6 commit 9eb0888
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 9eb0888

Please sign in to comment.