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.
Failed after AAAJ AnchetaView latest
chore: update node version for provenance and trusted publishing
5960a2a431Open on GitHubThis code change can't be applied
A fix is available, but it can't be applied automatically because the branch is outdated. Please sync the branch, then apply the fix locally below.