Skip to content

Commit 523dfe6

Browse files
peterppetebacondarwin
authored andcommitted
Add tests.
1 parent 22d7c15 commit 523dfe6

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
@@ -589,7 +589,7 @@ describe("Create Cloudflare CLI", () => {
589589
npm create cloudflare -- --framework next -- --ts
590590
pnpm create cloudflare --framework next -- --ts
591591
Allowed Values:
592-
analog, angular, astro, docusaurus, gatsby, hono, next, nuxt, qwik, react, react-router, solid, svelte, tanstack-start, vue, waku
592+
analog, angular, astro, docusaurus, gatsby, hono, next, nuxt, qwik, react, react-router, redwood, solid, svelte, tanstack-start, vue, waku
593593
--platform=<value>
594594
Whether the application should be deployed to Pages or Workers. This is only applicable for Frameworks templates that support both Pages and Workers.
595595
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
@@ -602,6 +602,21 @@ function getFrameworkTestConfig(pm: string): NamedFrameworkTestConfig[] {
602602
},
603603
nodeCompat: true,
604604
},
605+
{
606+
name: "redwood",
607+
testCommitMessage: true,
608+
timeout: LONG_TIMEOUT,
609+
unsupportedOSs: ["win32"],
610+
verifyDeploy: {
611+
route: "/",
612+
expectedText: "Hello, World!",
613+
},
614+
verifyPreview: {
615+
route: "/",
616+
expectedText: "Hello, World!",
617+
},
618+
nodeCompat: true,
619+
},
605620
];
606621
}
607622

0 commit comments

Comments
 (0)