chore: merge master into feature

This commit is contained in:
栗嘉男 2024-08-11 17:39:06 +08:00
parent 9334eb8a09
commit e5f094aabb

View File

@ -21,9 +21,7 @@ describe('site test', () => {
const render = async (path: string) => {
const resp = await fetch(`http://127.0.0.1:${port}${path}`).then(async (res) => {
const html: string = await res.text();
const $ = load(html, {
xml: true,
});
const $ = load(html, { xml: true });
return { status: res.status, $ };
});
return resp;