Skip to content

Commit

Permalink
Revert "test: fix version gating e2e test deletion (aws-amplify#8156)" (
Browse files Browse the repository at this point in the history
aws-amplify#8169)

This reverts commit c032a88.
  • Loading branch information
SwaySway authored and marcvberg committed Oct 13, 2021
1 parent 1e79b1d commit ef53a5f
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ type VersionGatingMetadata = {

describe('version gating', () => {
let projRoot: string;
let projectInitialized = false;
const projName = 'versiongating';

// Extreme version numbers for testing purposes
Expand Down Expand Up @@ -57,10 +56,7 @@ describe('version gating', () => {
});

afterEach(async () => {
if (projectInitialized) {
await deleteProject(projRoot);
}

await deleteProject(projRoot);
deleteProjectDir(projRoot);
});

Expand All @@ -76,7 +72,6 @@ describe('version gating', () => {
updateVersionInPackageJson(baseCLIVersion, baseMinimumCLIVersion);

await initJSProjectWithProfile(projRoot, { name: projName });
projectInitialized = true;

const meta = stateManager.getMeta(projRoot);

Expand Down

0 comments on commit ef53a5f

Please sign in to comment.