mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-02-03 23:49:08 +08:00
* fix: load fetch polyfill before tests * refactor: extract cloud runner test helpers * fix: load fetch polyfill before tests
4 lines
155 B
TypeScript
4 lines
155 B
TypeScript
import { fetch as undiciFetch, Headers, Request, Response } from 'undici';
|
|
|
|
Object.assign(globalThis, { fetch: undiciFetch, Headers, Request, Response });
|