Skip to content

test: add unit tests for prettyObject#6822

Merged
Leizhenpeng merged 1 commit into
ChatGPTNextWeb:mainfrom
TIANQIAN1238:feat-test-format
Jul 6, 2026
Merged

test: add unit tests for prettyObject#6822
Leizhenpeng merged 1 commit into
ChatGPTNextWeb:mainfrom
TIANQIAN1238:feat-test-format

Conversation

@TIANQIAN1238

Copy link
Copy Markdown
Contributor

💻 变更类型 | Change Type

  • test

🔀 变更说明 | Description of Change

Adds test/format.test.ts for prettyObject (app/utils/format.ts): plain-string fencing, object stringification, the empty-object special case ({}toString()), and already-fenced json passthrough.

No production code is modified.

🤖 Generated with Claude Code

Cover plain-string wrapping, object stringification, the empty-object
special case, and already-fenced json passthrough (app/utils/format.ts).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Leizhenpeng
Leizhenpeng merged commit 582f901 into ChatGPTNextWeb:main Jul 6, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants