1234567891011121314151617181920212223242526272829303132333435 |
- 'use strict';
-
- Object.defineProperty(exports, '__esModule', {
- value: true
- });
- exports.TEST_TIMEOUT_SYMBOL = exports.RETRY_TIMES = exports.STATE_SYM = void 0;
-
- var _expect = _interopRequireDefault(require('expect'));
-
- function _interopRequireDefault(obj) {
- return obj && obj.__esModule ? obj : {default: obj};
- }
-
- var global = (function () {
- if (typeof globalThis !== 'undefined') {
- return globalThis;
- } else if (typeof global !== 'undefined') {
- return global;
- } else if (typeof self !== 'undefined') {
- return self;
- } else if (typeof window !== 'undefined') {
- return window;
- } else {
- return Function('return this')();
- }
- })();
-
- var Symbol = global['jest-symbol-do-not-touch'] || global.Symbol;
- const STATE_SYM = Symbol('JEST_STATE_SYMBOL');
- exports.STATE_SYM = STATE_SYM;
- const RETRY_TIMES = Symbol.for('RETRY_TIMES'); // To pass this value from Runtime object to state we need to use global[sym]
-
- exports.RETRY_TIMES = RETRY_TIMES;
- const TEST_TIMEOUT_SYMBOL = Symbol.for('TEST_TIMEOUT_SYMBOL');
- exports.TEST_TIMEOUT_SYMBOL = TEST_TIMEOUT_SYMBOL;
|