Test Focus Highlighter (link)
An extension that visually highlights focused tests in spec files.
However, this should come with a big warning! Commiting and pushing focused tests upstream means that only a subset of your tests will run. This can mislead you into thinking that your test suites are executing successfully when in reality it's only a small portion of them.
There are many ways to guard against this problem. Some are manual like relying on self discipline and pull request reviews, while other take advantage of automatization and tooling like setting up git precommit hooks, lint rules, continuous integration pipeline checks, etc.
The purpose of this extension is to help you identify focused tests very early in the development process by making them visually stand out. The extension will not prevent you from commiting focused tests. It only aims to increase your chances of catching focused tests before committing them.
Support my work
If you find this extension useful and would like to support my work, you can buy me a cup of tea. Thank you!