1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-04 01:26:41 +02:00

chore(backend): remove jsdom completely (#16893)

* wip

* Update utils.ts

* Update fetch-resource.ts

* Update exports.ts

* Update oauth.ts
This commit is contained in:
syuilo
2025-11-29 21:55:13 +09:00
committed by GitHub
parent 4bdbe794a6
commit 81635d9f1c
6 changed files with 32 additions and 139 deletions

View File

@@ -73,7 +73,7 @@ describe('Webリソース', () => {
};
const metaTag = (res: SimpleGetResponse, key: string, superkey = 'name'): string => {
return res.body.window.document.querySelector('meta[' + superkey + '="' + key + '"]')?.content;
return res.body.querySelector('meta[' + superkey + '="' + key + '"]')?.attributes.content;
};
beforeAll(async () => {