chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
@@ -3,10 +3,7 @@ import { describe, expect, it, vi } from "vitest";
|
||||
import { startTelegramWebhook } from "./webhook.js";
|
||||
|
||||
const handlerSpy = vi.fn(
|
||||
(
|
||||
_req: unknown,
|
||||
res: { writeHead: (status: number) => void; end: (body?: string) => void },
|
||||
) => {
|
||||
(_req: unknown, res: { writeHead: (status: number) => void; end: (body?: string) => void }) => {
|
||||
res.writeHead(200);
|
||||
res.end("ok");
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user