'jest/no-deprecated-functions': Unable to detect Jest version - please ensure jest package is installed, or otherwise set version explicitly

C++
"settings": {
    "jest": {
      "version": 26
    }
 }
Source

Also in C++: