Files
SnowLuma/.pnpm-store/v11/files/6a/f972a57ea3f236fdd86a7224d464fc0b64cdf0501e316e86265828048e8e273a0d104c753e35cc423b046e248fbefdd52d6bcd027f46d8ef81dda3cdd4d0c9
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

19 lines
520 B
Plaintext

Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const require_client_client = require("../../client/client.js");
//#region src/helper/testing/index.ts
/**
* @module
* Testing Helper for Hono.
*/
const testClient = (app, Env, executionCtx, options) => {
const customFetch = (input, init) => {
return app.request(input, init, Env, executionCtx);
};
return require_client_client.hc("http://localhost", {
...options,
fetch: customFetch
});
};
//#endregion
exports.testClient = testClient;