vitest
vitest copied to clipboard
run console.log in vitest ,the file and code line number infomation is missing
Clear and concise description of the problem
Suggested solution
i think the log number will be more helper to location the code
Alternative
No response
Additional context
No response
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guidelines.
- [X] Read the docs.
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
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?
We can add an option to show the stacktrace.