lorenzofox3 / zora-node

test runner for nodejs using zora testing library
MIT License
27 stars 3 forks source link

Show relative paths #9

Open unlight opened 4 years ago

unlight commented 4 years ago

It would be nice to show relative paths instead of full. Like, src/app.test.spec.ts (forward slashed), but not \Dev\path\to\src\app.test.spec.ts:3:11 full path, back slashed

image

lorenzofox3 commented 4 years ago

sounds like a good idea, I am just a bit concerned: Some terminals manage to build clickable link from those stack traces. If we overwrite this behaviour we may break this handy behaviour

unlight commented 4 years ago

I did not think about it, but it seams keeping clickable file paths is reasonable too.
I found this gist Hyperlinks (a.k.a. HTML-like anchors) in terminal emulators