style: format codex and loader tests

This commit is contained in:
Peter Steinberger
2026-04-26 23:10:27 +01:00
parent d108110a89
commit 9f5bc5465c
3 changed files with 3 additions and 7 deletions

View File

@@ -6,9 +6,9 @@ import {
type CodexComputerUseConfig,
type ResolvedCodexComputerUseConfig,
} from "./config.js";
import type { v2 } from "./protocol-generated/typescript/index.js";
import type { JsonValue } from "./protocol.js";
import { requestCodexAppServerJson } from "./request.js";
import type { v2 } from "./protocol-generated/typescript/index.js";
export type CodexComputerUseRequest = <T = JsonValue | undefined>(
method: string,

View File

@@ -1,5 +1,5 @@
import type { CodexAppServerModelListResult } from "./app-server/models.js";
import type { CodexComputerUseStatus } from "./app-server/computer-use.js";
import type { CodexAppServerModelListResult } from "./app-server/models.js";
import { isJsonObject, type JsonObject, type JsonValue } from "./app-server/protocol.js";
import type { SafeValue } from "./command-rpc.js";

View File

@@ -312,10 +312,6 @@ describe("getCachedPluginJitiLoader", () => {
const loose = loader as unknown as (t: string, ...a: unknown[]) => unknown;
loose("/repo/dist/extensions/demo/api.js", { hint: "x" }, 42);
expect(jitiLoader).toHaveBeenCalledWith(
"/repo/dist/extensions/demo/api.js",
{ hint: "x" },
42,
);
expect(jitiLoader).toHaveBeenCalledWith("/repo/dist/extensions/demo/api.js", { hint: "x" }, 42);
});
});