[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite

fix: use correct source maps in stacktrace (#2027) master

* [vitest] use correct source maps in stacktrace use vitenode server to get a fetch result instead of a transform result. And then get the sourcemap from it. * [vitest] refactor * add tests for stack traces and sourcemaps * commit lockfile * fix linter * fix types linter * remove dynamic content from snapshot * push the correct snapshot * fix tests :) * increase timeout for runner tests * decrease timeout .. not the culprit in CI * move continue below map assignment * guard against accessing vitenode server * reduce the size of snapshots * rename timeout to prevent running more than one