mirror of
https://github.com/crazy-max/ghaction-upx.git
synced 2024-11-26 12:16:08 -07:00
30 lines
519 B
JavaScript
30 lines
519 B
JavaScript
|
'use strict';
|
||
|
|
||
|
function _jestMock() {
|
||
|
const data = _interopRequireDefault(require('jest-mock'));
|
||
|
|
||
|
_jestMock = function() {
|
||
|
return data;
|
||
|
};
|
||
|
|
||
|
return data;
|
||
|
}
|
||
|
|
||
|
function _interopRequireDefault(obj) {
|
||
|
return obj && obj.__esModule ? obj : {default: obj};
|
||
|
}
|
||
|
|
||
|
function _defineProperty(obj, key, value) {
|
||
|
if (key in obj) {
|
||
|
Object.defineProperty(obj, key, {
|
||
|
value: value,
|
||
|
enumerable: true,
|
||
|
configurable: true,
|
||
|
writable: true
|
||
|
});
|
||
|
} else {
|
||
|
obj[key] = value;
|
||
|
}
|
||
|
return obj;
|
||
|
}
|