vitest icon indicating copy to clipboard operation
vitest copied to clipboard

run console.log in vitest ,the file and code line number infomation is missing

Open zhengwh opened this issue 3 years ago • 2 comments

Clear and concise description of the problem

image

Suggested solution

i think the log number will be more helper to location the code

image

Alternative

No response

Additional context

No response

Validations

zhengwh avatar Jul 21 '22 03:07 zhengwh

Greetings,

If this is easy to do, I would like to give it a shot with a PR. I also suggest to show codeframes for console.warn and maybe others?

geekox86 avatar Aug 01 '22 10:08 geekox86

We can add an option to show the stacktrace.

sheremet-va avatar May 30 '23 18:05 sheremet-va