Skip to content

Commit 60d6a8a

Browse files
committed
refactor(test-ui): remove dead utility code
1 parent 7048906 commit 60d6a8a

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

extensions/codex/src/app-server/sandbox-exec-server.test-helpers.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,6 @@ export async function waitForHttpBodyDeltas(
228228
throw new Error(`expected ${count} http body deltas`);
229229
}
230230

231-
/** Quotes a value for POSIX shell snippets embedded in sandbox test commands. */
232-
export function shellQuote(value: string): string {
233-
return `'${value.replaceAll("'", `'"'"'`)}'`;
234-
}
235-
236231
/** Sends one JSON-RPC request and resolves/rejects from the matching response id. */
237232
export function rpc(socket: WebSocket, method: string, params: unknown): Promise<unknown> {
238233
const id = Math.floor(Math.random() * 1_000_000);

ui/src/ui/types.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ export type ChannelUiMetaEntry = {
3333
systemImage?: string;
3434
};
3535

36-
export const CRON_CHANNEL_LAST = "last";
37-
3836
export type ChannelAccountSnapshot = {
3937
accountId: string;
4038
name?: string | null;

0 commit comments

Comments
 (0)