forked from facebookarchive/nuclide
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjest.config.js
35 lines (32 loc) · 814 Bytes
/
jest.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the license found in the LICENSE file in
* the root directory of this source tree.
*
* @noflow
*/
'use strict';
/* eslint
comma-dangle: [1, always-multiline],
prefer-object-spread/prefer-object-spread: 0,
rulesdir/no-commonjs: 0,
*/
'use strict';
/* eslint
comma-dangle: [1, always-multiline],
prefer-object-spread/prefer-object-spread: 0,
rulesdir/no-commonjs: 0,
*/
module.exports = {
rootDir: __dirname,
testMatch: ['**/__tests__/**/*.js?(x)'],
transform: {
'\\.js$': '<rootDir>/modules/nuclide-jest/jestTransformer.js',
},
testFailureExitCode: 0,
setupFiles: ['<rootDir>/jest/setup.js'],
forceExit: true,
testPathIgnorePatterns: ['/node_modules/'],
};