summaryrefslogtreecommitdiff
path: root/packages/integrations/cloudflare/test/runtime.test.js
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2023-08-15 12:10:51 -0500
committerGravatar GitHub <noreply@github.com> 2023-08-15 12:10:51 -0500
commit74df833708ddb4eb3dc881cae9100cd615aa6add (patch)
tree746e1931cb3b6d4dc57908731e6096e9bde35c71 /packages/integrations/cloudflare/test/runtime.test.js
parent087270c61fd5c91ddd37db5c8fd93a8a0ef41f94 (diff)
downloadastro-74df833708ddb4eb3dc881cae9100cd615aa6add.tar.gz
astro-74df833708ddb4eb3dc881cae9100cd615aa6add.tar.zst
astro-74df833708ddb4eb3dc881cae9100cd615aa6add.zip
Update wrangler (#8081)
* chore: update wrangler * chore(cloudflare): update tests to support wrangler@3 * chore(cloudflare): update debug message * chore: force ci
Diffstat (limited to 'packages/integrations/cloudflare/test/runtime.test.js')
-rw-r--r--packages/integrations/cloudflare/test/runtime.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/integrations/cloudflare/test/runtime.test.js b/packages/integrations/cloudflare/test/runtime.test.js
index 243c1dd67..17d813448 100644
--- a/packages/integrations/cloudflare/test/runtime.test.js
+++ b/packages/integrations/cloudflare/test/runtime.test.js
@@ -17,7 +17,7 @@ describe('Runtime Locals', () => {
});
await fixture.build();
- cli = runCLI('./fixtures/runtime/', { silent: true, port: 8793 });
+ cli = await runCLI('./fixtures/runtime/', { silent: true, port: 8793 });
await cli.ready;
});
@@ -26,7 +26,7 @@ describe('Runtime Locals', () => {
});
it('has CF and Caches', async () => {
- let res = await fetch(`http://localhost:8793/`);
+ let res = await fetch(`http://127.0.0.1:8793/`);
expect(res.status).to.equal(200);
let html = await res.text();
let $ = cheerio.load(html);