Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "test: fix version gating e2e test deletion" #8169

Merged
merged 1 commit into from
Sep 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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