Skip to content

Commit 2536ce4

Browse files
committed
maybe fix tests
1 parent a465933 commit 2536ce4

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

packages/create-cloudflare/e2e-tests/cli.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ describe.skipIf(experimental || frameworkToTest || isQuarantineMode())(
8585
expect(output).toContain(`category Hello World Starter`);
8686
expect(output).toContain(`type Worker + Static Assets`);
8787
expect(output).toContain(`lang TypeScript`);
88-
expect(output).toContain(`no git`);
8988
expect(output).toContain(`no deploy`);
9089
},
9190
);
@@ -128,7 +127,6 @@ describe.skipIf(experimental || frameworkToTest || isQuarantineMode())(
128127
expect(project.path).toExist();
129128
expect(output).toContain(`type Scheduled Worker (Cron Trigger)`);
130129
expect(output).toContain(`lang JavaScript`);
131-
expect(output).toContain(`no git`);
132130
expect(output).toContain(`no deploy`);
133131
},
134132
);
@@ -181,7 +179,6 @@ describe.skipIf(experimental || frameworkToTest || isQuarantineMode())(
181179
expect(project.path).toExist();
182180
expect(output).toContain(`type Worker + Static Assets`);
183181
expect(output).toContain(`lang TypeScript`);
184-
expect(output).toContain(`no git`);
185182
expect(output).toContain(`no deploy`);
186183
} finally {
187184
fs.rmSync(existingFilePath, {

packages/create-cloudflare/e2e-tests/workers.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ describe
155155
.skipIf(
156156
getFrameworkToTest({ experimental }) ||
157157
isQuarantineMode() ||
158+
workerTests.length === 0 ||
158159
process.platform === "win32",
159160
)
160161
.concurrent(`E2E: Workers templates`, () => {

packages/create-cloudflare/src/helpers/args.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ export const cliDefinition: ArgumentsDefinition = {
7070
const experimental = Boolean(args?.["experimental"]);
7171
if (experimental) {
7272
return [
73-
{ name: "hello-world", description: "Hello World example" },
73+
{ name: "hello-world", description: "Hello World Starter" },
7474
{ name: "web-framework", description: "Framework Starter" },
7575
];
7676
} else {
7777
return [
78-
{ name: "hello-world", description: "Hello World example" },
78+
{ name: "hello-world", description: "Hello World Starter" },
7979
{ name: "web-framework", description: "Framework Starter" },
8080
{ name: "demo", description: "Application Starter" },
8181
{

packages/create-cloudflare/src/helpers/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const C3_DEFAULTS: C3Args = {
5757
open: true,
5858
lang: "ts",
5959
template:
60-
"cloudflare/workers-sdk/packages/create-cloudflare/templates/hello-world",
60+
"cloudflare/workers-sdk/packages/create-cloudflare/templates/hello-world-with-assets",
6161
};
6262

6363
export const WRANGLER_DEFAULTS = {

0 commit comments

Comments
 (0)