Refactor link tests (#5187)
Refactor link tests (#5187)

* Refactor link tests

* Include raw position data

* Move location of error logging out

* Remove redundant logger

* Fix import

* Fix lack of assignment of errors variable

* Catch old-style Chromium bugs URL (will cause failing test for now)

* Fix expected output for Chromium bugs

* Add missing chalk formatting

* Run Prettier on file

* Remove unused variables

chrisdavidmills/browser-compat-data,mdn/browser-compat-data,chrisdavidmills/browser-compat-data,mdn/browser-compat-data