"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&__createBinding(t,e,r);return __setModuleDefault(t,e),t};Object.defineProperty(exports,"__esModule",{value:!0}),exports.XMLHttpTestTools=void 0;var sinon=__importStar(require("sinon")),XMLHttpTestTools=function(){function e(){}return e.beforeEach=function(){var e=this;this.xhr=sinon.useFakeXMLHttpRequest(),this.requests=[],this.xhr.onCreate=function(t){e.requests.push(t)}},e.JSON_HEADER={"Content-Type":"application/json"},e}();exports.XMLHttpTestTools=XMLHttpTestTools;