// The directory where Jest should output its coverage files
// coverageDirectory: 'docs/js/coverage',
// An array of regexp pattern strings used to skip coverage collection
coveragePathIgnorePatterns:[
'/node_modules/'
],
// Indicates which provider should be used to instrument code for coverage
coverageProvider:'v8',
// A list of reporter names that Jest uses when writing coverage reports
coverageReporters:[
'text'
],
// An object that configures minimum threshold enforcement for coverage results
coverageThreshold:{
'**/mediawiki.special.block/**/*':{
statements:60,
branches:40,
functions:40,
lines:63
}
},
// A path to a custom dependency extractor
// dependencyExtractor: undefined,
// Make calling deprecated APIs throw helpful error messages
// errorOnDeprecated: false,
// Force coverage collection from ignored files using an array of glob patterns
// forceCoverageMatch: [],
// A path to a module which exports an async function that is triggered once before all test suites
// globalSetup: undefined,
// A path to a module which exports an async function that is triggered once after all test suites
// globalTeardown: undefined,
// A set of global variables that need to be available in all test environments
// globals: {},
// The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers.
// maxWorkers: '50%',
// An array of directory names to be searched recursively up from the requiring module's location
// moduleDirectories: [
// 'node_modules'
// ],
// An array of file extensions your modules use
moduleFileExtensions:[
'js',
'json',
'vue'
],
// A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module