core-agent-ide/codex-cli/tests
Luci a9ecb2efce
chore: upgrade prettier to v3 (#644)
## Description

This PR addresses the following improvements:

**Unify Prettier Version**: Currently, the Prettier version used in
`/package.json` and `/codex-cli/package.json` are different. In this PR,
we're updating both to use Prettier v3.

- Prettier v3 introduces improved support for JavaScript and TypeScript.
(e.g. the formatting scenario shown in the image below. This is more
aligned with the TypeScript indentation standard).

<img width="1126" alt="image"
src="https://github.com/user-attachments/assets/6e237eb8-4553-4574-b336-ed9561c55370"
/>

**Add Prettier Auto-Formatting in lint-staged**: We've added a step to
automatically run prettier --write on JavaScript and TypeScript files as
part of the lint-staged process, before the ESLint checks.

- This will help ensure that all committed code is properly formatted
according to the project's Prettier configuration.
2025-04-25 07:21:50 -07:00
..
__fixtures__ Initial commit 2025-04-16 12:56:08 -04:00
__snapshots__ refactor(updates): fetch version from registry instead of npm CLI to support multiple managers (#446) 2025-04-21 00:00:20 -07:00
agent-cancel-early.test.ts chore: upgrade prettier to v3 (#644) 2025-04-25 07:21:50 -07:00
agent-cancel-prev-response.test.ts chore: upgrade prettier to v3 (#644) 2025-04-25 07:21:50 -07:00
agent-cancel-race.test.ts chore: upgrade prettier to v3 (#644) 2025-04-25 07:21:50 -07:00
agent-cancel.test.ts chore: upgrade prettier to v3 (#644) 2025-04-25 07:21:50 -07:00
agent-function-call-id.test.ts chore: upgrade prettier to v3 (#644) 2025-04-25 07:21:50 -07:00
agent-generic-network-error.test.ts chore: upgrade prettier to v3 (#644) 2025-04-25 07:21:50 -07:00
agent-interrupt-continue.test.ts chore: upgrade prettier to v3 (#644) 2025-04-25 07:21:50 -07:00
agent-invalid-request-error.test.ts chore: upgrade prettier to v3 (#644) 2025-04-25 07:21:50 -07:00
agent-max-tokens-error.test.ts chore: upgrade prettier to v3 (#644) 2025-04-25 07:21:50 -07:00
agent-network-errors.test.ts chore: upgrade prettier to v3 (#644) 2025-04-25 07:21:50 -07:00
agent-project-doc.test.ts chore: upgrade prettier to v3 (#644) 2025-04-25 07:21:50 -07:00
agent-rate-limit-error.test.ts chore: upgrade prettier to v3 (#644) 2025-04-25 07:21:50 -07:00
agent-server-retry.test.ts chore: upgrade prettier to v3 (#644) 2025-04-25 07:21:50 -07:00
agent-terminate.test.ts chore: upgrade prettier to v3 (#644) 2025-04-25 07:21:50 -07:00
agent-thinking-time.test.ts chore: upgrade prettier to v3 (#644) 2025-04-25 07:21:50 -07:00
api-key.test.ts Initial commit 2025-04-16 12:56:08 -04:00
apply-patch.test.ts feat: more loosely match context for apply_patch (#610) 2025-04-24 09:05:19 -07:00
approvals.test.ts when a shell tool call invokes apply_patch, resolve relative paths against workdir, if specified (#556) 2025-04-22 14:07:47 -07:00
cancel-exec.test.ts Initial commit 2025-04-16 12:56:08 -04:00
check-updates.test.ts refactor(updates): fetch version from registry instead of npm CLI to support multiple managers (#446) 2025-04-21 00:00:20 -07:00
clear-command.test.tsx fix: /clear now clears terminal screen and resets context left indicator (#425) 2025-04-21 12:39:46 -04:00
config.test.tsx fix(utils): save config (#578) 2025-04-24 17:32:33 -07:00
create-truncating-collector.test.ts include fractional portion of chunk that exceeds stdout/stderr limit (#497) 2025-04-21 19:06:03 -07:00
dummy.test.ts Initial commit 2025-04-16 12:56:08 -04:00
exec-apply-patch.test.ts feat: create parent directories when creating new files. (#552) 2025-04-22 19:45:17 -04:00
external-editor.test.ts Back out @lib indirection in tsconfig.json (#111) 2025-04-16 14:16:53 -07:00
file-system-suggestions.test.ts feat: tab completions for file paths (#279) 2025-04-20 22:34:27 -07:00
fixed-requires-shell.test.ts fix: command pipe execution by improving shell detection (#437) 2025-04-20 21:11:19 -07:00
format-command.test.ts Back out @lib indirection in tsconfig.json (#111) 2025-04-16 14:16:53 -07:00
history-overlay.test.tsx refactor(history-overlay): split into modular functions & add tests (fixes #402) (#403) 2025-04-20 22:27:06 -07:00
input-utils.test.ts re-enable Prettier check for codex-cli in CI (#417) 2025-04-19 11:22:45 -07:00
invalid-command-handling.test.ts chore: upgrade prettier to v3 (#644) 2025-04-25 07:21:50 -07:00
markdown.test.tsx Initial commit 2025-04-16 12:56:08 -04:00
model-info.test.ts feat: add openai model info configuration (#551) 2025-04-22 17:31:25 -04:00
model-utils-network-error.test.ts chore: consolidate model utils and drive-by cleanups (#476) 2025-04-21 12:33:57 -04:00
model-utils.test.ts feat: add openai model info configuration (#551) 2025-04-22 17:31:25 -04:00
multiline-ctrl-enter-submit.test.tsx Initial commit 2025-04-16 12:56:08 -04:00
multiline-dynamic-width.test.tsx Initial commit 2025-04-16 12:56:08 -04:00
multiline-enter-submit-cr.test.tsx Initial commit 2025-04-16 12:56:08 -04:00
multiline-external-editor-shortcut.test.tsx Back out @lib indirection in tsconfig.json (#111) 2025-04-16 14:16:53 -07:00
multiline-history-behavior.test.tsx chore: consolidate model utils and drive-by cleanups (#476) 2025-04-21 12:33:57 -04:00
multiline-input-test.ts Initial commit 2025-04-16 12:56:08 -04:00
multiline-newline.test.tsx Initial commit 2025-04-16 12:56:08 -04:00
multiline-shift-enter-crlf.test.tsx Initial commit 2025-04-16 12:56:08 -04:00
multiline-shift-enter-mod1.test.tsx Fix handling of Shift+Enter in e.g. Ghostty (#338) 2025-04-18 09:19:06 -07:00
multiline-shift-enter.test.tsx Initial commit 2025-04-16 12:56:08 -04:00
package-manager-detector.test.ts refactor(updates): fetch version from registry instead of npm CLI to support multiple managers (#446) 2025-04-21 00:00:20 -07:00
parse-apply-patch.test.ts Back out @lib indirection in tsconfig.json (#111) 2025-04-16 14:16:53 -07:00
pipe-command.test.ts fix: command pipe execution by improving shell detection (#437) 2025-04-20 21:11:19 -07:00
project-doc.test.ts Initial commit 2025-04-16 12:56:08 -04:00
raw-exec-process-group.test.ts fix(raw-exec-process-group): improve test reliability (#434) 2025-04-20 12:21:02 -07:00
requires-shell.test.ts fix: command pipe execution by improving shell detection (#437) 2025-04-20 21:11:19 -07:00
responses-chat-completions.test.ts bug: non-openai mode - fix for gemini content: null, fix 429 to throw before stream (#563) 2025-04-22 20:37:48 -04:00
slash-commands.test.ts feat: /diff command to view git diff (#426) 2025-04-19 16:23:27 -07:00
terminal-chat-completions.test.tsx feat: tab completions for file paths (#279) 2025-04-20 22:34:27 -07:00
terminal-chat-input-compact.test.tsx feat: /diff command to view git diff (#426) 2025-04-19 16:23:27 -07:00
terminal-chat-input-multiline.test.tsx feat: allow multi-line input (#438) 2025-04-20 08:51:38 -07:00
terminal-chat-model-selection.test.tsx feat: display error on selection of invalid model (#594) 2025-04-24 16:56:00 -07:00
terminal-chat-response-item.test.tsx Initial commit 2025-04-16 12:56:08 -04:00
text-buffer-copy-paste.test.ts Back out @lib indirection in tsconfig.json (#111) 2025-04-16 14:16:53 -07:00
text-buffer-crlf.test.ts Back out @lib indirection in tsconfig.json (#111) 2025-04-16 14:16:53 -07:00
text-buffer-gaps.test.ts Back out @lib indirection in tsconfig.json (#111) 2025-04-16 14:16:53 -07:00
text-buffer-word.test.ts fix(text-buffer): correct word deletion logic for trailing spaces (Ctrl+Backspace) (#131) 2025-04-16 16:25:08 -07:00
text-buffer.test.ts chore: consolidate model utils and drive-by cleanups (#476) 2025-04-21 12:33:57 -04:00
typeahead-scroll.test.tsx chore: consolidate model utils and drive-by cleanups (#476) 2025-04-21 12:33:57 -04:00
ui-test-helpers.tsx Initial commit 2025-04-16 12:56:08 -04:00