Repository navigation
Conversation
|
Hello @CreedTech. Your PR has been labeled To keep your PR open, please follow these steps:
Please, do not generate or format the response with AI. If you do not speak English, reply in your native language or use translation software like Google Translate or Deepl. If the response is generated, the PR will be closed automatically. These measures help us reduce maintenance burden and keep the team's work efficient. See our AI contributions policy for more context. |
✅ Deploy Preview for vitest-dev ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
The Code was AI assisted using chatgpt, but it was reviewed and approved by @CreedTech |
jsdom 30.1 no longer exposes the Blob internals that vitest's jsdom environment reads in its URL.createObjectURL shim. Every call with a Blob throws, and the card makes one to start the MapLibre worker, so the map and worker tests fail (timmaurice#107). vitest 5.0.2 is still affected; the fix is vitest-dev/vitest#11353. Refs: timmaurice#107
AI-assisted using ChatGPT on behalf of @CreedTech. @CreedTech manually reviewed and approved the code before submission.
Fixes jsdom 30.1 Blob compatibility in the jsdom environment. jsdom 30.1 no longer exposes the Blob implementation through the wrapper symbol that Vitest currently relies on, causing Blob request bodies and
URL.createObjectURLto fail.This uses jsdom's
implForWrapperutility when available, handles its CommonJS export shape, and keeps the existing symbol lookup as a fallback for older layouts.Fix #11336
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
pnpm-lock.yamlunless you introduce a new test example.Tests
pnpm test:ci.Validated locally:
test/unit: 649 files passed, 6,231 tests passedpnpm typecheckpnpm lint:fixgit diff --check