Problem with running tests in VSCode under Ubuntu (any packages)

For example:

(@v1.11) pkg> test Revise
     Testing Revise
...
     Testing Running tests...
ERROR: julia: -t,--threads=<n>[,auto|<m>]; n must be an integer >= 1
ERROR: Package Revise errored during testing

The same error with any package. Running test from Julia in a terminal works without problems. Any ideas?

Probably this? Unable to run tests with julia 1.11.5 if `julia.NumThreads` is not set · Issue #3798 · julia-vscode/julia-vscode · GitHub