fix: mock github checks in tests (#724)

* fix: load fetch polyfill before tests

* refactor: extract cloud runner test helpers

* fix: load fetch polyfill before tests
This commit is contained in:
Frostebite
2025-08-06 06:07:52 +01:00
committed by GitHub
parent 9e91ca9749
commit c6c8236152
6 changed files with 124 additions and 51 deletions
+3
View File
@@ -0,0 +1,3 @@
import { fetch as undiciFetch, Headers, Request, Response } from 'undici';
Object.assign(globalThis, { fetch: undiciFetch, Headers, Request, Response });