Skip to content

Commit 83db499

Browse files
committed
Add tests.
1 parent 7829f3b commit 83db499

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ describe("Create Cloudflare CLI", () => {
587587
npm create cloudflare -- --framework next -- --ts
588588
pnpm create cloudflare --framework next -- --ts
589589
Allowed Values:
590-
analog, angular, astro, docusaurus, gatsby, hono, next, nuxt, qwik, react, react-router, solid, svelte, tanstack-start, vue, waku
590+
analog, angular, astro, docusaurus, gatsby, hono, next, nuxt, qwik, react, react-router, redwood, solid, svelte, tanstack-start, vue, waku
591591
--platform=<value>
592592
Whether the application should be deployed to Pages or Workers. This is only applicable for Frameworks templates that support both Pages and Workers.
593593
Allowed Values:

packages/create-cloudflare/e2e/tests/frameworks/test-config.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,21 @@ function getFrameworkTestConfig(pm: string): NamedFrameworkTestConfig[] {
608608
},
609609
nodeCompat: true,
610610
},
611+
{
612+
name: "redwood",
613+
testCommitMessage: true,
614+
timeout: LONG_TIMEOUT,
615+
unsupportedOSs: ["win32"],
616+
verifyDeploy: {
617+
route: "/",
618+
expectedText: "Hello, World!",
619+
},
620+
verifyPreview: {
621+
route: "/",
622+
expectedText: "Hello, World!",
623+
},
624+
nodeCompat: true,
625+
},
611626
];
612627
}
613628

0 commit comments

Comments
 (0)