ee8275a8b2
Rebased onto current main, where the electron test harness migrated from node:test to vitest (test:desktop:platforms = `vitest run --project electron`, auto-discovering electron/*.test.ts). Swap the node:test import for vitest and drop the .ts-extension import hack; the obsolete package.json node --test list edit is dropped in the cherry-pick resolution since vitest auto-discovers. Co-authored-by: Gille <4317663+helix4u@users.noreply.github.com>