Public Access
Commit Inicial
This commit is contained in:
commit
9636921d99
4064 files changed
+517144
No files matched your search
+11
@@ -0,0 +1,11 @@
|
||||
// src/helper/testing/index.ts
|
||||
import { hc } from "../../client/index.js";
|
||||
var testClient = (app, Env, executionCtx, options) => {
|
||||
const customFetch = (input, init) => {
|
||||
return app.request(input, init, Env, executionCtx);
|
||||
};
|
||||
return hc("http://localhost", { ...options, fetch: customFetch });
|
||||
};
|
||||
export {
|
||||
testClient
|
||||
};
|
||||
Reference in new issue
Block a user