Failed after AAAJ Ancheta
View latest

chore: update node version for provenance and trusted publishing

5960a2a431Open on GitHub

Self-Healing CI

Classification: Code change neededFix generatedVerified 1 task

Our Node bump to 24 made the built-in undici fetch reject the jsdom AbortSignal that RTK Query passes, which broke all 13 tests in device.store.test.ts. We fixed this by running that test file in the node environment, where the native AbortSignal is used, and by making the shared vitest setup load vitest-canvas-mock only when a DOM exists. The full javascript-sdk test suite (158 tests) and lint now pass locally on Node 24.

Commit"fix(javascript-sdk): configure device tests for Node 24"

2 files changed