Skip to content

Commit

Permalink
fix(container-hosting): e2e test fix (#7889)
Browse files Browse the repository at this point in the history
  • Loading branch information
sundersc authored Aug 4, 2021
1 parent e420c6a commit f9d7983
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import {
createNewProjectDir,
deleteProject,
deleteProjectDir,
enableContainerHosting,
getBackendAmplifyMeta,
initJSProjectWithProfile,
removeHosting,
amplifyConfigureProject,
} from 'amplify-e2e-core';

import * as fs from 'fs-extra';
Expand All @@ -18,7 +18,10 @@ describe('amplify add hosting - container', () => {
beforeAll(async () => {
projRoot = await createNewProjectDir('container-hosting');
await initJSProjectWithProfile(projRoot, {});
await enableContainerHosting(projRoot);
await amplifyConfigureProject({
cwd: projRoot,
enableContainers: true
});
await addDevContainerHosting(projRoot);
});

Expand Down

0 comments on commit f9d7983

Please sign in to comment.