github.com/SAP/cloud-mta-build-tool@v1.2.27/integration/testdata/mta_demo/node/jest.json (about)

     1  {
     2      "testEnvironment": "node",
     3      "reporters": [
     4          "default",
     5          [
     6              "jest-junit",
     7              {
     8                  "suiteNameTemplate": "{filepath}",
     9                  "output": "reports/report.xml",
    10                  "classNameTemplate": "{filepath}",
    11                  "titleTemplate": "{classname}-{title}"
    12              }
    13          ]
    14      ],
    15      "automock": false,
    16      "bail": false,
    17      "clearMocks": true,
    18      "moduleDirectories": ["node_modules"],
    19      "modulePathIgnorePatterns": [],
    20      "resetMocks": false,
    21      "resetModules": false,
    22      "testMatch": ["**/*-spec.js"],
    23      "testPathIgnorePatterns": ["/node_modules/"],
    24      "collectCoverageFrom": [
    25          "**/*.js",
    26          "!**/tests/**",
    27          "!**/appcontroller.[0-9]*/**",
    28          "!runTest.js"
    29      ],
    30      "coverageDirectory": "reports/",
    31      "coverageReporters": ["json", "text"],
    32      "coverageThreshold": {
    33          "global": {
    34              "branches": 0,
    35              "functions": 0,
    36              "lines": 0,
    37              "statements": 0
    38          }
    39      },
    40      "verbose": true
    41  }