connor4312 / nodejs-testing

VS Code integration for node:test native tests
MIT License
43 stars 6 forks source link

Peek on assertion failure duplicates message #19

Closed NoelAbrahams closed 4 months ago

NoelAbrahams commented 10 months ago

In the image below, the message 'Expected value to be true. Actual 'false'' (which comes from the error thrown by the assertion library) is repeated:

image

A suggested improvement could be the following: image

connor4312 commented 4 months ago

This is just the design of VS Code -- the title of the peek is the first line of the error message.