Skip to content

Conversation

@rezib
Copy link
Contributor

@rezib rezib commented Jan 26, 2026

fix #651

Remove the stray console.log in the empty breadcrumb test so output
stays clean. This keeps test runs quiet while preserving the same
assertions.
@rezib rezib added this to the v6.1.0 milestone Jan 26, 2026
@rezib rezib self-assigned this Jan 26, 2026
rezib added 2 commits January 26, 2026 14:53
Replace RESTAPI multipart fixtures with a GatewayAPI mock and
Canvas stubs so the component spec focuses on UI state updates.
This avoids undici multipart parsing differences between Node
20/24 that previously caused unhandled rejections and masked UI
failures.

Move multipart expectations into GatewayAPI.spec by stubbing
Response.formData() with a minimal FormData-like object. This
keeps the parsing logic covered while eliminating undici's
File/Blob validation path in the component tests.

Also import Node's File/Blob and assign them to globalThis for the
test runtime. This avoids undici Web IDL assertion failures when jsdom
File/Blob are used.

fix #651
Mount the component before setting returnUrl and wait a tick for
updates. This prevents inject() warnings and keeps the alert assertion
stable.
@rezib rezib merged commit f628349 into main Jan 26, 2026
12 checks passed
@rezib rezib deleted the pr/fix-651 branch January 26, 2026 14:00
@github-actions github-actions bot locked and limited conversation to collaborators Jan 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failing frontend unittest with node 20 and 24

2 participants