Often when running tests, you'll see output like:
at Context.<anonymous> (tests/domains/MySchoolPage/WishList/SchoolWishListRowLayout-test.jsx:50:58)
If you Cmd+Click on the file path, you can go directly to the line position of the problem by doint the following:
Open iTerm > Preferences > Profiles > (Your Profile) > Advanced > Semantic History Choose "Run command..." Enter something like
/usr/local/bin/mvim +\2 --remote-tab-silent \1
I use MacVim, so this opens to the line number (\2) of the file (\1) in the existing vim window (--remote-tab-silent)