odin-js-fundamentals-part-5/node_modules/jest-watcher/build/index.js

75 lines
2.1 KiB
JavaScript
Raw Permalink Normal View History

2024-01-11 08:52:05 +00:00
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
var _exportNames = {
BaseWatchPlugin: true,
JestHook: true,
PatternPrompt: true,
TestWatcher: true,
Prompt: true
};
Object.defineProperty(exports, 'BaseWatchPlugin', {
enumerable: true,
get: function () {
return _BaseWatchPlugin.default;
}
});
Object.defineProperty(exports, 'JestHook', {
enumerable: true,
get: function () {
return _JestHooks.default;
}
});
Object.defineProperty(exports, 'PatternPrompt', {
enumerable: true,
get: function () {
return _PatternPrompt.default;
}
});
Object.defineProperty(exports, 'Prompt', {
enumerable: true,
get: function () {
return _Prompt.default;
}
});
Object.defineProperty(exports, 'TestWatcher', {
enumerable: true,
get: function () {
return _TestWatcher.default;
}
});
var _BaseWatchPlugin = _interopRequireDefault(require('./BaseWatchPlugin'));
var _JestHooks = _interopRequireDefault(require('./JestHooks'));
var _PatternPrompt = _interopRequireDefault(require('./PatternPrompt'));
var _TestWatcher = _interopRequireDefault(require('./TestWatcher'));
var _constants = require('./constants');
Object.keys(_constants).forEach(function (key) {
if (key === 'default' || key === '__esModule') return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _constants[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _constants[key];
}
});
});
var _Prompt = _interopRequireDefault(require('./lib/Prompt'));
var _patternModeHelpers = require('./lib/patternModeHelpers');
Object.keys(_patternModeHelpers).forEach(function (key) {
if (key === 'default' || key === '__esModule') return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _patternModeHelpers[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _patternModeHelpers[key];
}
});
});
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {default: obj};
}