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:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user