Fix image test fail (#5321)
This commit is contained in:
parent
56c37a6287
commit
7f3b0398e0
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue