constants.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 = void 0;
  6. function _path() {
  7. const data = _interopRequireDefault(require('path'));
  8. _path = function _path() {
  9. return data;
  10. };
  11. return data;
  12. }
  13. function _interopRequireDefault(obj) {
  14. return obj && obj.__esModule ? obj : {default: obj};
  15. }
  16. /**
  17. * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  18. *
  19. * This source code is licensed under the MIT license found in the
  20. * LICENSE file in the root directory of this source tree.
  21. */
  22. const NODE_MODULES = _path().default.sep + 'node_modules' + _path().default.sep;
  23. exports.NODE_MODULES = NODE_MODULES;
  24. const DEFAULT_JS_PATTERN = '^.+\\.[jt]sx?$';
  25. exports.DEFAULT_JS_PATTERN = DEFAULT_JS_PATTERN;
  26. const DEFAULT_REPORTER_LABEL = 'default';
  27. exports.DEFAULT_REPORTER_LABEL = DEFAULT_REPORTER_LABEL;
  28. const PACKAGE_JSON = 'package.json';
  29. exports.PACKAGE_JSON = PACKAGE_JSON;
  30. const JEST_CONFIG = 'jest.config.js';
  31. exports.JEST_CONFIG = JEST_CONFIG;