Download vitest-setup.js from linuxrun/cors: direct link, hf CLI and curl.
- Browser
- Download file 163 Bytes
-
https://huggingface.co/spaces/linuxrun/cors/resolve/main/vitest-setup.js
- Command line
-
hf download hf://spaces/linuxrun/cors/vitest-setup.js
-
curl -L -o vitest-setup.js https://huggingface.co/spaces/linuxrun/cors/resolve/main/vitest-setup.js
163 Bytes
| import { fetch, Request, Response, Headers } from "undici"; | |
| global.fetch = fetch; | |
| global.Request = Request; | |
| global.Response = Response; | |
| global.Headers = Headers; | |