constants.js 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', {
  3. value: true
  4. });
  5. exports.JEST_CONFIG = exports.PACKAGE_JSON = exports.DEFAULT_REPORTER_LABEL = exports.DEFAULT_JS_PATTERN = exports.NODE_MODULES = undefined;
  6. var _path;
  7. function _load_path() {
  8. return (_path = _interopRequireDefault(require('path')));
  9. }
  10. function _interopRequireDefault(obj) {
  11. return obj && obj.__esModule ? obj : {default: obj};
  12. }
  13. const NODE_MODULES = (exports.NODE_MODULES =
  14. (_path || _load_path()).default.sep +
  15. 'node_modules' +
  16. (_path || _load_path()).default.sep);
  17. /**
  18. * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
  19. *
  20. * This source code is licensed under the MIT license found in the
  21. * LICENSE file in the root directory of this source tree.
  22. *
  23. *
  24. */
  25. const DEFAULT_JS_PATTERN = (exports.DEFAULT_JS_PATTERN = '^.+\\.jsx?$');
  26. const DEFAULT_REPORTER_LABEL = (exports.DEFAULT_REPORTER_LABEL = 'default');
  27. const PACKAGE_JSON = (exports.PACKAGE_JSON = 'package.json');
  28. const JEST_CONFIG = (exports.JEST_CONFIG = 'jest.config.js');