style: format codex and loader tests · openclaw/openclaw@9f5bc54
steipete
·
2026-04-27
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -6,9 +6,9 @@ import {
|
6 | 6 | type CodexComputerUseConfig, |
7 | 7 | type ResolvedCodexComputerUseConfig, |
8 | 8 | } from "./config.js"; |
| 9 | +import type { v2 } from "./protocol-generated/typescript/index.js"; |
9 | 10 | import type { JsonValue } from "./protocol.js"; |
10 | 11 | import { requestCodexAppServerJson } from "./request.js"; |
11 | | -import type { v2 } from "./protocol-generated/typescript/index.js"; |
12 | 12 | |
13 | 13 | export type CodexComputerUseRequest = <T = JsonValue | undefined>( |
14 | 14 | method: string, |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | | -import type { CodexAppServerModelListResult } from "./app-server/models.js"; |
2 | 1 | import type { CodexComputerUseStatus } from "./app-server/computer-use.js"; |
| 2 | +import type { CodexAppServerModelListResult } from "./app-server/models.js"; |
3 | 3 | import { isJsonObject, type JsonObject, type JsonValue } from "./app-server/protocol.js"; |
4 | 4 | import type { SafeValue } from "./command-rpc.js"; |
5 | 5 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -312,10 +312,6 @@ describe("getCachedPluginJitiLoader", () => {
|
312 | 312 | |
313 | 313 | const loose = loader as unknown as (t: string, ...a: unknown[]) => unknown; |
314 | 314 | loose("/repo/dist/extensions/demo/api.js", { hint: "x" }, 42); |
315 | | -expect(jitiLoader).toHaveBeenCalledWith( |
316 | | -"/repo/dist/extensions/demo/api.js", |
317 | | -{ hint: "x" }, |
318 | | -42, |
319 | | -); |
| 315 | +expect(jitiLoader).toHaveBeenCalledWith("/repo/dist/extensions/demo/api.js", { hint: "x" }, 42); |
320 | 316 | }); |
321 | 317 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。