fix: Remove tsconfig.oxlint.json AGAIN.

This commit is contained in:
cpojer
2026-02-03 21:44:54 +09:00
parent a8893094ea
commit 425003417d
10 changed files with 12 additions and 29 deletions
@@ -5,8 +5,8 @@ import { transcribeDeepgramAudio } from "./audio.js";
const resolvePinnedHostname = ssrf.resolvePinnedHostname;
const resolvePinnedHostnameWithPolicy = ssrf.resolvePinnedHostnameWithPolicy;
const lookupMock = vi.fn();
let resolvePinnedHostnameSpy: ReturnType<typeof vi.spyOn> | null = null;
let resolvePinnedHostnameWithPolicySpy: ReturnType<typeof vi.spyOn> | null = null;
let resolvePinnedHostnameSpy: ReturnType<typeof vi.spyOn> = null;
let resolvePinnedHostnameWithPolicySpy: ReturnType<typeof vi.spyOn> = null;
const resolveRequestUrl = (input: RequestInfo | URL) => {
if (typeof input === "string") {
@@ -15,7 +15,7 @@ const resolveRequestUrl = (input: RequestInfo | URL) => {
};
describe("describeGeminiVideo", () => {
let resolvePinnedHostnameSpy: ReturnType<typeof vi.spyOn> | undefined;
let resolvePinnedHostnameSpy: ReturnType<typeof vi.spyOn>;
beforeEach(() => {
resolvePinnedHostnameSpy = vi
@@ -5,8 +5,8 @@ import { transcribeOpenAiCompatibleAudio } from "./audio.js";
const resolvePinnedHostname = ssrf.resolvePinnedHostname;
const resolvePinnedHostnameWithPolicy = ssrf.resolvePinnedHostnameWithPolicy;
const lookupMock = vi.fn();
let resolvePinnedHostnameSpy: ReturnType<typeof vi.spyOn> | null = null;
let resolvePinnedHostnameWithPolicySpy: ReturnType<typeof vi.spyOn> | null = null;
let resolvePinnedHostnameSpy: ReturnType<typeof vi.spyOn> = null;
let resolvePinnedHostnameWithPolicySpy: ReturnType<typeof vi.spyOn> = null;
const resolveRequestUrl = (input: RequestInfo | URL) => {
if (typeof input === "string") {
@@ -13,7 +13,7 @@ const getCachedStickerSpy = vi.fn();
const describeStickerImageSpy = vi.fn();
const resolvePinnedHostname = ssrf.resolvePinnedHostname;
const lookupMock = vi.fn();
let resolvePinnedHostnameSpy: ReturnType<typeof vi.spyOn> | null = null;
let resolvePinnedHostnameSpy: ReturnType<typeof vi.spyOn> = null;
type ApiStub = {
config: { use: (arg: unknown) => void };
@@ -98,7 +98,7 @@ const _makeSessionStore = async (
};
describe("web auto-reply", () => {
let resolvePinnedHostnameSpy: ReturnType<typeof vi.spyOn> | undefined;
let resolvePinnedHostnameSpy: ReturnType<typeof vi.spyOn>;
beforeEach(() => {
vi.clearAllMocks();
@@ -97,7 +97,7 @@ const _makeSessionStore = async (
};
describe("web auto-reply", () => {
let resolvePinnedHostnameSpy: ReturnType<typeof vi.spyOn> | undefined;
let resolvePinnedHostnameSpy: ReturnType<typeof vi.spyOn>;
beforeEach(() => {
vi.clearAllMocks();