Updating NPM dependencies
This commit is contained in:
36
node_modules/jest-config/build/Defaults.js
generated
vendored
36
node_modules/jest-config/build/Defaults.js
generated
vendored
@@ -5,10 +5,20 @@ Object.defineProperty(exports, '__esModule', {
|
||||
});
|
||||
exports.default = void 0;
|
||||
|
||||
function _path() {
|
||||
const data = require('path');
|
||||
|
||||
_path = function () {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _jestRegexUtil() {
|
||||
const data = require('jest-regex-util');
|
||||
|
||||
_jestRegexUtil = function _jestRegexUtil() {
|
||||
_jestRegexUtil = function () {
|
||||
return data;
|
||||
};
|
||||
|
||||
@@ -35,30 +45,23 @@ const NODE_MODULES_REGEXP = (0, _jestRegexUtil().replacePathSepForRegex)(
|
||||
const defaultOptions = {
|
||||
automock: false,
|
||||
bail: 0,
|
||||
browser: false,
|
||||
cache: true,
|
||||
cacheDirectory: (0, _getCacheDirectory.default)(),
|
||||
changedFilesWithAncestor: false,
|
||||
clearMocks: false,
|
||||
collectCoverage: false,
|
||||
collectCoverageFrom: null,
|
||||
coverageDirectory: null,
|
||||
coveragePathIgnorePatterns: [NODE_MODULES_REGEXP],
|
||||
coverageProvider: 'babel',
|
||||
coverageReporters: ['json', 'text', 'lcov', 'clover'],
|
||||
coverageThreshold: null,
|
||||
dependencyExtractor: null,
|
||||
errorOnDeprecated: false,
|
||||
expand: false,
|
||||
filter: null,
|
||||
forceCoverageMatch: [],
|
||||
globalSetup: null,
|
||||
globalTeardown: null,
|
||||
globals: {},
|
||||
haste: {
|
||||
computeSha1: false,
|
||||
providesModuleNodeModules: [],
|
||||
throwOnModuleCollision: false
|
||||
},
|
||||
injectGlobals: true,
|
||||
maxConcurrency: 5,
|
||||
maxWorkers: '50%',
|
||||
moduleDirectories: ['node_modules'],
|
||||
@@ -68,20 +71,17 @@ const defaultOptions = {
|
||||
noStackTrace: false,
|
||||
notify: false,
|
||||
notifyMode: 'failure-change',
|
||||
preset: null,
|
||||
prettierPath: 'prettier',
|
||||
projects: null,
|
||||
resetMocks: false,
|
||||
resetModules: false,
|
||||
resolver: null,
|
||||
restoreMocks: false,
|
||||
rootDir: null,
|
||||
roots: ['<rootDir>'],
|
||||
runTestsByPath: false,
|
||||
runner: 'jest-runner',
|
||||
setupFiles: [],
|
||||
setupFilesAfterEnv: [],
|
||||
skipFilter: false,
|
||||
slowTestThreshold: 5,
|
||||
snapshotSerializers: [],
|
||||
testEnvironment: 'jest-environment-jsdom',
|
||||
testEnvironmentOptions: {},
|
||||
@@ -90,15 +90,15 @@ const defaultOptions = {
|
||||
testMatch: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)'],
|
||||
testPathIgnorePatterns: [NODE_MODULES_REGEXP],
|
||||
testRegex: [],
|
||||
testResultsProcessor: null,
|
||||
testRunner: 'jasmine2',
|
||||
testSequencer: '@jest/test-sequencer',
|
||||
testURL: 'http://localhost',
|
||||
timers: 'real',
|
||||
transform: null,
|
||||
transformIgnorePatterns: [NODE_MODULES_REGEXP],
|
||||
transformIgnorePatterns: [
|
||||
NODE_MODULES_REGEXP,
|
||||
`\\.pnp\\.[^\\${_path().sep}]+$`
|
||||
],
|
||||
useStderr: false,
|
||||
verbose: null,
|
||||
watch: false,
|
||||
watchPathIgnorePatterns: [],
|
||||
watchman: true
|
||||
|
||||
Reference in New Issue
Block a user