保誠-保戶業務員媒合平台
HelenHuang
2022-06-09 26fa49f4b0aa658d65a21fffe828f39e78302573
PAMapp/node_modules/jest-environment-node/build/index.js
@@ -104,6 +104,10 @@
    if (typeof AbortController !== 'undefined') {
      global.AbortController = AbortController;
    } // AbortSignal is global in Node >= 15
    if (typeof AbortSignal !== 'undefined') {
      global.AbortSignal = AbortSignal;
    } // Event is global in Node >= 15.4
    if (typeof Event !== 'undefined') {
@@ -112,6 +116,15 @@
    if (typeof EventTarget !== 'undefined') {
      global.EventTarget = EventTarget;
    } // performance is global in Node >= 16
    if (typeof performance !== 'undefined') {
      global.performance = performance;
    } // atob and btoa are global in Node >= 16
    if (typeof atob !== 'undefined' && typeof btoa !== 'undefined') {
      global.atob = atob;
      global.btoa = btoa;
    }
    (0, _jestUtil().installCommonGlobals)(global, config.globals);