Skip to content

Commit

Permalink
test: fix C3 e2e test experimental flag
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin committed Jan 31, 2025
1 parent e2f5e3e commit af07741
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/create-cloudflare/e2e-tests/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
} from "./helpers";
import type { Suite } from "vitest";

const experimental = Boolean(process.env.E2E_EXPERIMENTAL);
const experimental = process.env.E2E_EXPERIMENTAL === "true";
const frameworkToTest = getFrameworkToTest({ experimental: false });

// Note: skipIf(frameworkToTest) makes it so that all the basic C3 functionality
Expand Down
2 changes: 1 addition & 1 deletion packages/create-cloudflare/e2e-tests/frameworks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ function getFrameworkTests(opts: {
}
}

const experimental = Boolean(process.env.E2E_EXPERIMENTAL);
const experimental = process.env.E2E_EXPERIMENTAL === "true";
const frameworkMap = getFrameworkMap({ experimental });
const frameworkTests = getFrameworkTests({ experimental });

Expand Down
2 changes: 1 addition & 1 deletion packages/create-cloudflare/e2e-tests/workers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function getWorkerTests(opts: { experimental: boolean }): WorkerTestConfig[] {
}
}

const experimental = Boolean(process.env.E2E_EXPERIMENTAL);
const experimental = process.env.E2E_EXPERIMENTAL === "true";
const workerTests = getWorkerTests({ experimental });

describe
Expand Down

0 comments on commit af07741

Please # to comment.