Skip to content

Commit e1bf8be

Browse files
committed
fix tests
1 parent 2763b09 commit e1bf8be

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

packages/vite-plugin-cloudflare/e2e/remote-bindings.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ describe
2424
const alternativeRemoteWorkerName =
2525
"tmp-e2e-vite-plugin-mixed-mode-remote-worker-alt";
2626

27-
const projectPath = seed("mixed-mode", "pnpm");
27+
const projectPath = seed("remote-bindings", "pnpm");
2828

2929
beforeAll(() => {
3030
const tmp = fs.mkdtempSync(`${os.tmpdir()}/vite-plugin-e2e-tmp`);

packages/wrangler/src/__tests__/api/startDevWorker/ConfigController.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ base_dir = \"./some/base_dir\"`,
147147
moduleRules: [],
148148
},
149149
dev: {
150-
experimental_remote: true,
150+
remote: true,
151151
liveReload: true,
152152
server: { port: 1234 },
153153
},

packages/wrangler/src/__tests__/config/configuration.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6401,8 +6401,8 @@ describe("normalizeAndValidateConfig()", () => {
64016401

64026402
expect(diagnostics.renderWarnings()).toMatchInlineSnapshot(`
64036403
"Processing wrangler configuration:
6404-
- Unexpected fields found in kv_namespaces[0] field: \\"remote\\"
6405-
- Unexpected fields found in r2_buckets[0] field: \\"remote\\""
6404+
- Unexpected fields found in kv_namespaces[0] field: \\"experimental_remote\\"
6405+
- Unexpected fields found in r2_buckets[0] field: \\"experimental_remote\\""
64066406
`);
64076407
});
64086408

@@ -6438,8 +6438,8 @@ describe("normalizeAndValidateConfig()", () => {
64386438

64396439
expect(diagnostics.renderErrors()).toMatchInlineSnapshot(`
64406440
"Processing wrangler configuration:
6441-
- \\"kv_namespaces[0]\\" should, optionally, have a boolean \\"remote\\" field but got {\\"binding\\":\\"KV\\",\\"id\\":\\"xxxx-xxxx-xxxx-xxxx\\",\\"remote\\":\\"hello\\"}.
6442-
- \\"r2_buckets[0]\\" should, optionally, have a boolean \\"remote\\" field but got {\\"binding\\":\\"R2\\",\\"bucket_name\\":\\"my-r2\\",\\"remote\\":5}."
6441+
- \\"kv_namespaces[0]\\" should, optionally, have a boolean \\"experimental_remote\\" field but got {\\"binding\\":\\"KV\\",\\"id\\":\\"xxxx-xxxx-xxxx-xxxx\\",\\"experimental_remote\\":\\"hello\\"}.
6442+
- \\"r2_buckets[0]\\" should, optionally, have a boolean \\"experimental_remote\\" field but got {\\"binding\\":\\"R2\\",\\"bucket_name\\":\\"my-r2\\",\\"experimental_remote\\":5}."
64436443
`);
64446444
});
64456445
});

packages/wrangler/src/__tests__/dev.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1740,10 +1740,10 @@ describe.sequential("wrangler dev", () => {
17401740
expect(std.warn).toMatchInlineSnapshot(`
17411741
"▲ [WARNING] Processing wrangler.toml configuration:
17421742
1743-
- Unexpected fields found in kv_namespaces[0] field: \\"remote\\"
1744-
- Unexpected fields found in queues.producers[0] field: \\"remote\\"
1745-
- Unexpected fields found in r2_buckets[0] field: \\"remote\\"
1746-
- Unexpected fields found in d1_databases[0] field: \\"remote\\"
1743+
- Unexpected fields found in kv_namespaces[0] field: \\"experimental_remote\\"
1744+
- Unexpected fields found in queues.producers[0] field: \\"experimental_remote\\"
1745+
- Unexpected fields found in r2_buckets[0] field: \\"experimental_remote\\"
1746+
- Unexpected fields found in d1_databases[0] field: \\"experimental_remote\\"
17471747
17481748
"
17491749
`);

0 commit comments

Comments
 (0)