This commit is contained in:
Kismet Hasanaj
2026-05-02 20:07:02 +02:00
parent ce8672e283
commit 34dc9aec52
9428 changed files with 1733330 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
0 && (module.exports = {
interceptTestApis: null,
wrapRequestHandler: null
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
interceptTestApis: function() {
return interceptTestApis;
},
wrapRequestHandler: function() {
return wrapRequestHandler;
}
});
const _context = require("./context");
const _fetch = require("./fetch");
function interceptTestApis() {
return (0, _fetch.interceptFetch)(global.fetch);
}
function wrapRequestHandler(handler) {
return (req, fn)=>(0, _context.withRequest)(req, _fetch.reader, ()=>handler(req, fn));
}
//# sourceMappingURL=server-edge.js.map