Skip to content

Commit

Permalink
fixup! add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundhung committed Oct 17, 2024
1 parent f788fb5 commit 5dc1192
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/create-cloudflare/e2e-tests/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ describe.skipIf(experimental || frameworkToTest || isQuarantineMode())(
"Going back and forth between the category, type, framework and lang prompts",
async ({ logStream, project }) => {
const { output } = await runC3(
[project.path, "--git=false", "--no-deploy"],
["/invalid-project-name", "--git=false", "--no-deploy"],
[
{
matcher: /What would you like to start with\?/,
Expand All @@ -256,7 +256,7 @@ describe.skipIf(experimental || frameworkToTest || isQuarantineMode())(
{
matcher:
/In which directory do you want to create your application/,
input: [`${project.path}-test`, keys.enter],
input: [project.path, keys.enter],
},
{
matcher: /What would you like to start with\?/,
Expand Down Expand Up @@ -344,7 +344,7 @@ describe.skipIf(experimental || frameworkToTest || isQuarantineMode())(
logStream,
);

expect(`${project.path}-test`).toExist();
expect(project.path).toExist();
expect(output).toContain(`type Hello World Worker`);
expect(output).toContain(`lang JavaScript`);
},
Expand Down

0 comments on commit 5dc1192

Please sign in to comment.