From c8085903678099335e91fd3d7e5d555d9f911a5b Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Mon, 25 Nov 2024 15:52:59 +0100 Subject: [PATCH] Fix the included file in tests for the hello world template (#6410) --- .changeset/lemon-badgers-rest.md | 5 +++++ .../templates/hello-world/ts/test/tsconfig.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/lemon-badgers-rest.md diff --git a/.changeset/lemon-badgers-rest.md b/.changeset/lemon-badgers-rest.md new file mode 100644 index 000000000000..cc3e5385025c --- /dev/null +++ b/.changeset/lemon-badgers-rest.md @@ -0,0 +1,5 @@ +--- +"create-cloudflare": patch +--- + +Fix the test tsconfig file in the hello-world typescript template diff --git a/packages/create-cloudflare/templates/hello-world/ts/test/tsconfig.json b/packages/create-cloudflare/templates/hello-world/ts/test/tsconfig.json index bc019a7e2bfb..7fc4362899ec 100644 --- a/packages/create-cloudflare/templates/hello-world/ts/test/tsconfig.json +++ b/packages/create-cloudflare/templates/hello-world/ts/test/tsconfig.json @@ -3,6 +3,6 @@ "compilerOptions": { "types": ["@cloudflare/workers-types/experimental", "@cloudflare/vitest-pool-workers"] }, - "include": ["./**/*.ts", "../src/env.d.ts"], + "include": ["./**/*.ts", "../worker-configuration.d.ts"], "exclude": [] }