Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hansott committed Nov 22, 2024
1 parent 18d4de2 commit 90be296
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/sources/Hono.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable prefer-rest-params */
import * as t from "tap";
import { ReportingAPIForTesting } from "../agent/api/ReportingAPIForTesting";
import { Token } from "../agent/api/Token";
Expand All @@ -13,7 +14,7 @@ import { addHonoMiddleware } from "../middleware/hono";
import * as fetch from "../helpers/fetch";

wrap(fetch, "fetch", function mock(original) {
return async function mock() {
return async function mock(this: typeof fetch) {
if (
arguments.length > 0 &&
arguments[0] &&
Expand Down Expand Up @@ -51,7 +52,6 @@ const agent = createTestAgent({
configUpdatedAt: 0,
heartbeatIntervalInMS: 10 * 60 * 1000,
allowedIPAddresses: ["4.3.2.1"],
blockedIPAddresses: [],
}),
});
agent.start([new HonoInternal(), new HTTPServer()]);
Expand Down

0 comments on commit 90be296

Please sign in to comment.