Skip to content

test: add unit tests for the merge helper#6821

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

test: add unit tests for the merge helper#6821
Leizhenpeng merged 1 commit into
ChatGPTNextWeb:mainfrom
TIANQIAN1238:feat-test-merge

Conversation

@TIANQIAN1238

Copy link
Copy Markdown
Contributor

💻 变更类型 | Change Type

  • test

🔀 变更说明 | Description of Change

Adds test/merge.test.ts for merge (app/utils/merge.ts), covering flat merges, primitive overwrite, recursive deep-merge of nested objects, and creation of missing nested targets.

No production code is modified.

🤖 Generated with Claude Code

Cover flat property merges, primitive overwrite, recursive deep-merge of
nested objects, and creation of missing nested targets
(app/utils/merge.ts).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Leizhenpeng
Leizhenpeng merged commit 71b6a79 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