Skip to content

Commit

Permalink
Revert "test: fix version gating e2e test deletion (#8156)" (#8169)
Browse files Browse the repository at this point in the history
This reverts commit c032a88.
  • Loading branch information
SwaySway committed Sep 13, 2021
1 parent 50f07ef commit d43836f
Showing 1 changed file with 1 addition and 6 deletions.
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 d43836f

Please sign in to comment.