Skip to content

Commit

Permalink
test: fix C3 e2e tests for Angular (#4403)
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin authored Nov 8, 2023
1 parent 7678786 commit cb8ec90
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/many-islands-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-cloudflare": patch
---

test: fix C3 e2e tests for Angular
2 changes: 1 addition & 1 deletion packages/create-cloudflare/e2e-tests/pages.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe.concurrent(`E2E: Web frameworks`, () => {
timeout: 1000 * 60 * 5,
},
angular: {
expectResponseToContain: "Love Angular?",
expectResponseToContain: "Congratulations! Your app is running.",
testCommitMessage: true,
},
gatsby: {
Expand Down
2 changes: 1 addition & 1 deletion packages/create-cloudflare/src/helpers/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export const runFrameworkGenerator = async (
ctx: PagesGeneratorContext,
argString: string
) => {
const cli = getFrameworkCli(ctx);
const cli = getFrameworkCli(ctx, true);
const { npm, dlx } = detectPackageManager();

// yarn cannot `yarn create@some-version` and doesn't have an npx equivalent
Expand Down

0 comments on commit cb8ec90

Please sign in to comment.