UNPKG

react-scripts

Version:
53 lines (45 loc) 1.37 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'); const utils = require('jest-util'); module.exports = { automock: false, bail: false, browser: false, cacheDirectory: path.join(os.tmpdir(), 'jest'), colors: false, coveragePathIgnorePatterns: [ utils.replacePathSepForRegex(constants.NODE_MODULES)], coverageReporters: ['json', 'text', 'lcov', 'clover'], globals: {}, haste: { providesModuleNodeModules: [] }, mocksPattern: '__mocks__', moduleDirectories: ['node_modules'], moduleFileExtensions: ['js', 'json', 'node'], moduleNameMapper: {}, modulePathIgnorePatterns: [], noStackTrace: false, notify: false, preset: null, resetModules: false, testEnvironment: 'jest-environment-jsdom', testPathDirs: ['<rootDir>'], testPathIgnorePatterns: [ utils.replacePathSepForRegex(constants.NODE_MODULES)], testRegex: '(/__tests__/.*|\\.(test|spec))\\.js$', testURL: 'about:blank', timers: 'real', useStderr: false, verbose: null, watch: false };