#184·majestic

FR: clicking on a failed test should open the failed test to that line in the editor

Author: gregveresCreated Feb 9, 2020Updated Dec 12, 2023

Is this a bug report or a feature request?

feature request

Version Info

  • Version of Majestic: latest
  • Version of Jest: 25
  • Version of Node:
  • Operating System: Windows

Reproduction Repo

When a test fails, Jest is really good at spitting out the line of the assertion that failed. It would be nice if you could click on the div for that failed test and have it open the test file to the line of the failed assertion.

This is a little nicer than the open in editor button in the summary because it will take you directly to the failed assertion without having to eyeball the line number in the failure message and then jumping to that line number. I know that VS Code for instance will open directly to a line number because I have seen other packages do this.