diff --git a/packages/amplify-migration-tests/src/__tests__/migration_tests/overrides/init-migration.test.ts b/packages/amplify-migration-tests/src/__tests__/migration_tests/overrides/init-migration.test.ts index bfb3a0b07e0..b090cc9aa25 100644 --- a/packages/amplify-migration-tests/src/__tests__/migration_tests/overrides/init-migration.test.ts +++ b/packages/amplify-migration-tests/src/__tests__/migration_tests/overrides/init-migration.test.ts @@ -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);