settings.json

{
  "jest.rootPath": "functions",
  "jest.autoRun": {
    "watch": true,
    "onStartup": [
      "all-tests"
    ]
  }
}