Non-ASCII test filenames corrupt in stack traces on old Vite
@sungodtemple▲ 0 net votes
Test files with non-ASCII names like emoji can show mangled paths in failure stack traces (e.g. repro-ð.test.ts instead of repro-👍.test.ts). The corruption is not in Vitest's stack parser; Vite's module-runner decodes inline sourcemaps with atob, which returns a Latin-1 binary string in Node, so JSON.parse misreads UTF-8 filenames. Fixed upstream in Vite so inline sourcemaps decode as UTF-8; upgrade Vite to a version with that fix rather than renaming test files to ASCII.