Skip to content

Commit 9489885

Browse files
fix(cloudflare): tests (#14278)
1 parent 3e2f20d commit 9489885

File tree

8 files changed

+8
-1
lines changed

8 files changed

+8
-1
lines changed

packages/integrations/cloudflare/test/fixtures/astro-env/wrangler.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name = "astro-env"
2+
compatibility_flags = ["nodejs_compat"]
23

34
[vars]
45
API_URL = "https://google.de"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
compatibility_flags = ["nodejs_compat"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
compatibility_flags = ["nodejs_compat"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
compatibility_flags = ["nodejs_compat"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
compatibility_flags = ["nodejs_compat"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
compatibility_flags = ["nodejs_compat"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name = "test"
2+
compatibility_flags = ["nodejs_compat"]
23

34
[vars]
45
COOL = "ME"

packages/integrations/cloudflare/test/wrangler-preview-platform.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('WranglerPreviewPlatform', () => {
1919
if (data.toString().includes('http://127.0.0.1:8788')) resolve();
2020
});
2121
wrangler.stderr.on('data', (_data) => {
22-
// console.log('[stderr]', data.toString());
22+
// console.log('[stderr]', _data.toString());
2323
});
2424
});
2525
});

0 commit comments

Comments
 (0)