summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bjorn Lu <bjornlu.dev@gmail.com> 2022-11-08 21:31:05 +0800
committerGravatar GitHub <noreply@github.com> 2022-11-08 08:31:05 -0500
commit7f3b0398e0350d268f5d07fa2d2520efed7af9be (patch)
tree9ae33f106ecbb17e0719b9cdfd3b44922bcd8a0d
parent56c37a62873080eb5ceebf573d921d1f2005963e (diff)
downloadastro-7f3b0398e0350d268f5d07fa2d2520efed7af9be.tar.gz
astro-7f3b0398e0350d268f5d07fa2d2520efed7af9be.tar.zst
astro-7f3b0398e0350d268f5d07fa2d2520efed7af9be.zip
Fix image test fail (#5321)
-rw-r--r--packages/integrations/image/test/image-ssr-build.test.js2
-rw-r--r--packages/integrations/image/test/picture-ssr-build.test.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/integrations/image/test/image-ssr-build.test.js b/packages/integrations/image/test/image-ssr-build.test.js
index a2b7d0150..c20692c0e 100644
--- a/packages/integrations/image/test/image-ssr-build.test.js
+++ b/packages/integrations/image/test/image-ssr-build.test.js
@@ -204,7 +204,7 @@ describe('SSR images with subpath - build', function () {
it(title, async () => {
const app = await fixture.loadTestAdapterApp();
- const request = new Request('http://example.com/');
+ const request = new Request('http://example.com/docs/');
const response = await app.render(request);
const html = await response.text();
const $ = cheerio.load(html);
diff --git a/packages/integrations/image/test/picture-ssr-build.test.js b/packages/integrations/image/test/picture-ssr-build.test.js
index aa3bdfc3e..57429fde8 100644
--- a/packages/integrations/image/test/picture-ssr-build.test.js
+++ b/packages/integrations/image/test/picture-ssr-build.test.js
@@ -195,7 +195,7 @@ describe('SSR pictures with subpath - build', function () {
it(title, async () => {
const app = await fixture.loadTestAdapterApp();
- const request = new Request('http://example.com/');
+ const request = new Request('http://example.com/docs/');
const response = await app.render(request);
const html = await response.text();
const $ = cheerio.load(html);