1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-21 16:55:33 +02:00

enhance(backend): use native fetch instead of node-fetch polyfill

This commit is contained in:
syuilo
2025-12-08 11:34:24 +09:00
parent 3afe7c5348
commit d26dab8af7
8 changed files with 0 additions and 61 deletions

View File

@@ -6,9 +6,6 @@
process.env.NODE_ENV = 'test';
import * as assert from 'assert';
// node-fetch only supports it's own Blob yet
// https://github.com/node-fetch/node-fetch/pull/1664
import { Blob } from 'node-fetch';
import { api, castAsError, initTestDb, post, signup, simpleGet, uploadFile } from '../utils.js';
import type * as misskey from 'misskey-js';
import { MiUser } from '@/models/_.js';