e-lado
Version:
[](https://circleci.com/gh/sharetribe/sharetribe/tree/master) [](https://gemnasium.com/sharetribe/shar
59 lines (51 loc) • 1.57 kB
JavaScript
/**
* Copyright (c) 2014-present, 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.
*
*
*/
;
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'),
coveragePathIgnorePatterns: [NODE_MODULES_REGEXP],
coverageReporters: ['json', 'text', 'lcov', 'clover'],
expand: false,
globals: {},
haste: {
providesModuleNodeModules: [] },
mocksPattern: '__mocks__',
moduleDirectories: ['node_modules'],
moduleFileExtensions: [
'js',
'json',
'jsx',
'node'],
moduleNameMapper: {},
modulePathIgnorePatterns: [],
noStackTrace: false,
notify: false,
preset: null,
resetMocks: false,
resetModules: false,
snapshotSerializers: [],
testEnvironment: 'jest-environment-jsdom',
testPathDirs: ['<rootDir>'],
testPathIgnorePatterns: [NODE_MODULES_REGEXP],
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.jsx?$',
testURL: 'about:blank',
timers: 'real',
transformIgnorePatterns: [NODE_MODULES_REGEXP],
useStderr: false,
verbose: null,
watch: false };