UNPKG

react-scripts

Version:
57 lines (49 loc) 1.51 kB
/** * Copyright (c) 2014, Facebook, Inc. All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * */ 'use strict'; const constants = require('./constants'); const os = require('os'); const path = require('path');var _require = require('jest-util');const replacePathSepForRegex = _require.replacePathSepForRegex; const NODE_MODULES_REGEXP = replacePathSepForRegex(constants.NODE_MODULES); module.exports = { automock: false, bail: false, browser: false, cacheDirectory: path.join(os.tmpdir(), 'jest'), clearMocks: false, coveragePathIgnorePatterns: [NODE_MODULES_REGEXP], coverageReporters: ['json', 'text', 'lcov', 'clover'], globals: {}, haste: { providesModuleNodeModules: [] }, mocksPattern: '__mocks__', moduleDirectories: ['node_modules'], moduleFileExtensions: [ 'js', 'json', 'jsx', 'node'], moduleNameMapper: {}, modulePathIgnorePatterns: [], noStackTrace: false, notify: false, preset: null, preprocessorIgnorePatterns: [NODE_MODULES_REGEXP], resetModules: false, testEnvironment: 'jest-environment-jsdom', testPathDirs: ['<rootDir>'], testPathIgnorePatterns: [NODE_MODULES_REGEXP], testRegex: '(/__tests__/.*|\\.(test|spec))\\.jsx?$', testURL: 'about:blank', timers: 'real', useStderr: false, verbose: null, watch: false };