You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated to 26.4.2 through renovate bot and noticed my CI failed because this linter was running on non-test files.
I came across this issue #555 which explains that anything that uses jest testing functions is treated as a test file.
The non-test files in question are simply doing regex matching of the kind e.g. /regex/.test(arg), which I would expect to not trigger this heuristic to treat it as a test file.
I reverted to 26.3.0 for now without any other changes and it's working. Just wanted to give you a heads up.