vitest/test/stacktraces/package.json
Abdellah Alaoui Solaimani d1919a069c
fix: use correct source maps in stacktrace (#2027)
* [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
2022-10-07 10:13:39 +02:00

14 lines
235 B
JSON

{
"name": "@vitest/test-fails",
"type": "module",
"private": true,
"scripts": {
"test": "vitest",
"coverage": "vitest run --coverage"
},
"devDependencies": {
"execa": "^6.1.0",
"vitest": "workspace:*"
}
}