Skip to content

Commit 4c5ba38

Browse files
fix types Wrangler e2e test (#8789)
The type generation changed from using double quotes to single quotes.
1 parent 3af2e30 commit 4c5ba38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/wrangler/e2e/types.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ describe("types", () => {
5959
path.join(helper.tmpPath, "./worker-configuration.d.ts"),
6060
"utf8"
6161
);
62-
expect(file).contains('declare module "cloudflare:workers"');
62+
expect(file).matches(/declare module ['"]cloudflare:workers["']/);
6363
expect(file).contains("interface Env");
6464
});
6565

0 commit comments

Comments
 (0)